pub struct CreateStrategy {
pub strategy_config: ImportableStrategyConfig,
pub start: bool,
pub command_id: UUID4,
pub ts_init: UnixNanos,
}Fields§
§strategy_config: ImportableStrategyConfig§start: bool§command_id: UUID4§ts_init: UnixNanosImplementations§
Source§impl CreateStrategy
impl CreateStrategy
Sourcepub const fn new(
strategy_config: ImportableStrategyConfig,
start: bool,
command_id: UUID4,
ts_init: UnixNanos,
) -> Self
pub const fn new( strategy_config: ImportableStrategyConfig, start: bool, command_id: UUID4, ts_init: UnixNanos, ) -> Self
Creates a new CreateStrategy instance.
pub fn as_any(&self) -> &dyn Any
Trait Implementations§
Source§impl Clone for CreateStrategy
impl Clone for CreateStrategy
Source§fn clone(&self) -> CreateStrategy
fn clone(&self) -> CreateStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateStrategy
impl Debug for CreateStrategy
Source§impl<'de> Deserialize<'de> for CreateStrategy
impl<'de> Deserialize<'de> for CreateStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<CreateStrategy> for ControllerCommand
impl From<CreateStrategy> for ControllerCommand
Source§fn from(command: CreateStrategy) -> Self
fn from(command: CreateStrategy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateStrategy
impl RefUnwindSafe for CreateStrategy
impl Send for CreateStrategy
impl Sync for CreateStrategy
impl Unpin for CreateStrategy
impl UnsafeUnpin for CreateStrategy
impl UnwindSafe for CreateStrategy
Blanket Implementations§
impl<T> Allocation 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
Mutably borrows from an owned value. Read more
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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