pub struct FlowSetupState<Mode: StateMode> {
pub seen_flow_metadata_version: Option<u64>,
pub metadata: Mode::DefaultState<FlowSetupMetadata>,
pub tracking_table: Mode::State<TrackingTableSetupState>,
pub targets: IndexMap<ResourceIdentifier, Mode::State<TargetSetupState>>,
}Fields§
§seen_flow_metadata_version: Option<u64>§metadata: Mode::DefaultState<FlowSetupMetadata>§tracking_table: Mode::State<TrackingTableSetupState>§targets: IndexMap<ResourceIdentifier, Mode::State<TargetSetupState>>Trait Implementations§
Source§impl<Mode: Clone + StateMode> Clone for FlowSetupState<Mode>where
Mode::DefaultState<FlowSetupMetadata>: Clone,
Mode::State<TrackingTableSetupState>: Clone,
Mode::State<TargetSetupState>: Clone,
impl<Mode: Clone + StateMode> Clone for FlowSetupState<Mode>where
Mode::DefaultState<FlowSetupMetadata>: Clone,
Mode::State<TrackingTableSetupState>: Clone,
Mode::State<TargetSetupState>: Clone,
Source§fn clone(&self) -> FlowSetupState<Mode>
fn clone(&self) -> FlowSetupState<Mode>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Mode: Debug + StateMode> Debug for FlowSetupState<Mode>where
Mode::DefaultState<FlowSetupMetadata>: Debug,
Mode::State<TrackingTableSetupState>: Debug,
Mode::State<TargetSetupState>: Debug,
impl<Mode: Debug + StateMode> Debug for FlowSetupState<Mode>where
Mode::DefaultState<FlowSetupMetadata>: Debug,
Mode::State<TrackingTableSetupState>: Debug,
Mode::State<TargetSetupState>: Debug,
Source§impl Default for FlowSetupState<ExistingMode>
impl Default for FlowSetupState<ExistingMode>
Source§impl PartialEq for FlowSetupState<DesiredMode>
impl PartialEq for FlowSetupState<DesiredMode>
Auto Trait Implementations§
impl<Mode> Freeze for FlowSetupState<Mode>where
<Mode as StateMode>::DefaultState<FlowSetupMetadata>: Freeze,
<Mode as StateMode>::State<TrackingTableSetupState>: Freeze,
impl<Mode> RefUnwindSafe for FlowSetupState<Mode>where
<Mode as StateMode>::DefaultState<FlowSetupMetadata>: RefUnwindSafe,
<Mode as StateMode>::State<TrackingTableSetupState>: RefUnwindSafe,
<Mode as StateMode>::State<TargetSetupState>: RefUnwindSafe,
impl<Mode> Send for FlowSetupState<Mode>where
<Mode as StateMode>::DefaultState<FlowSetupMetadata>: Send,
<Mode as StateMode>::State<TrackingTableSetupState>: Send,
<Mode as StateMode>::State<TargetSetupState>: Send,
impl<Mode> Sync for FlowSetupState<Mode>where
<Mode as StateMode>::DefaultState<FlowSetupMetadata>: Sync,
<Mode as StateMode>::State<TrackingTableSetupState>: Sync,
<Mode as StateMode>::State<TargetSetupState>: Sync,
impl<Mode> Unpin for FlowSetupState<Mode>where
<Mode as StateMode>::DefaultState<FlowSetupMetadata>: Unpin,
<Mode as StateMode>::State<TrackingTableSetupState>: Unpin,
<Mode as StateMode>::State<TargetSetupState>: Unpin,
impl<Mode> UnwindSafe for FlowSetupState<Mode>where
<Mode as StateMode>::DefaultState<FlowSetupMetadata>: UnwindSafe,
<Mode as StateMode>::State<TrackingTableSetupState>: UnwindSafe,
<Mode as StateMode>::State<TargetSetupState>: UnwindSafe,
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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> ⓘ
Converts
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> ⓘ
Converts
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