pub struct StackPlacement {
pub stack_id: String,
pub hidden: bool,
}Expand description
The index projection of an asset’s stack membership: the two assets columns
(stack_id, is_stack_hidden) that keep a non-primary member out of the timeline.
This is a derived value, not a source of truth: the durable record is the
sidecar’s signed stack_membership register, which both the importer and
Workspace::set_stack_membership write. It survives here for the one case the register
cannot serve — an asset imported before the importer wrote that register, whose
placement was written only to the index and therefore exists nowhere else (see Workspace::open step (6) and
library::rebuild_index).
Fields§
§stack_id: StringThe shared stack id (the asset_stacks row id the members belong to).
Whether this member is hidden from the timeline (true for every non-primary member).
Trait Implementations§
Source§impl Clone for StackPlacement
impl Clone for StackPlacement
Source§fn clone(&self) -> StackPlacement
fn clone(&self) -> StackPlacement
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for StackPlacement
impl RefUnwindSafe for StackPlacement
impl Send for StackPlacement
impl Sync for StackPlacement
impl Unpin for StackPlacement
impl UnsafeUnpin for StackPlacement
impl UnwindSafe for StackPlacement
Blanket Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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