pub struct TabRecord {
pub tab_id: String,
pub workspace_id: String,
pub name: String,
pub block_ids: Vec<String>,
pub focused_node_id: String,
pub magnified_node_id: String,
pub rootnode: Option<LayoutNode>,
pub recent_intent_ids: Vec<String>,
}Expand description
Phase E.2b — tab as held by the srv reducer’s canonical state.
Tabs are owned by exactly one workspace; the workspace’s
tab_ids field gives the ordering. E.3 adds block_ids so the
tab tracks which blocks live inside it.
Fields§
§tab_id: String§workspace_id: String§name: String§block_ids: Vec<String>Phase E.3 — ordered list of block ids in this tab. Mirrors
the persistent Tab.blockids field.
focused_node_id: StringFocused layout node id; empty when no pane in this tab is
focused. Mirrors LayoutState.focusednodeid.
magnified_node_id: StringPhase E.4 (Option A) — magnified layout node id. Empty when
no pane is magnified (toggle-off). Mirrors
LayoutState.magnifiednodeid.
rootnode: Option<LayoutNode>Layout tree root; None is an empty tree (no panes). The
reducer is its writer (LayoutSetTree, LayoutDeleteNode*, the
pane-tab stack arms); LayoutState.rootnode is persisted from
their events and bootstrap-loaded at startup.
recent_intent_ids: Vec<String>Action ids of the latest layout intents applied, oldest first and at
most reducer::layout::RECENT_INTENTS of them: a repeat is a no-op, so a
resent intent can’t apply twice. Not persisted.
Trait Implementations§
impl StructuralPartialEq for TabRecord
Auto Trait Implementations§
impl Freeze for TabRecord
impl RefUnwindSafe for TabRecord
impl Send for TabRecord
impl Sync for TabRecord
impl Unpin for TabRecord
impl UnsafeUnpin for TabRecord
impl UnwindSafe for TabRecord
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more