pub struct StartInterruptionInstructionBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> StartInterruptionInstructionBuilder<S>
impl<S: State> StartInterruptionInstructionBuilder<S>
Sourcepub fn build(self) -> StartInterruptionInstructionwhere
S: IsComplete,
pub fn build(self) -> StartInterruptionInstructionwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn message_id(
self,
value: Id,
) -> StartInterruptionInstructionBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
pub fn message_id(
self,
value: Id,
) -> StartInterruptionInstructionBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
Sourcepub fn maybe_message_id(
self,
value: Option<Id>,
) -> StartInterruptionInstructionBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
pub fn maybe_message_id(
self,
value: Option<Id>,
) -> StartInterruptionInstructionBuilder<SetMessageId<S>>where
S::MessageId: IsUnset,
Sourcepub fn id(self, value: Id) -> StartInterruptionInstructionBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: Id) -> StartInterruptionInstructionBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
The instruction’s own identifier.
Sourcepub fn power_profile_id(
self,
value: Id,
) -> StartInterruptionInstructionBuilder<SetPowerProfileId<S>>where
S::PowerProfileId: IsUnset,
pub fn power_profile_id(
self,
value: Id,
) -> StartInterruptionInstructionBuilder<SetPowerProfileId<S>>where
S::PowerProfileId: IsUnset,
Required.
The profile.
Sourcepub fn sequence_container_id(
self,
value: Id,
) -> StartInterruptionInstructionBuilder<SetSequenceContainerId<S>>where
S::SequenceContainerId: IsUnset,
pub fn sequence_container_id(
self,
value: Id,
) -> StartInterruptionInstructionBuilder<SetSequenceContainerId<S>>where
S::SequenceContainerId: IsUnset,
Required.
The container.
Sourcepub fn power_sequence_id(
self,
value: Id,
) -> StartInterruptionInstructionBuilder<SetPowerSequenceId<S>>where
S::PowerSequenceId: IsUnset,
pub fn power_sequence_id(
self,
value: Id,
) -> StartInterruptionInstructionBuilder<SetPowerSequenceId<S>>where
S::PowerSequenceId: IsUnset,
Required.
The sequence to interrupt. It must be one that says it is interruptible.
Sourcepub fn execution_time(
self,
value: Timestamp,
) -> StartInterruptionInstructionBuilder<SetExecutionTime<S>>where
S::ExecutionTime: IsUnset,
pub fn execution_time(
self,
value: Timestamp,
) -> StartInterruptionInstructionBuilder<SetExecutionTime<S>>where
S::ExecutionTime: IsUnset,
Required.
When to interrupt. In the past means as soon as possible.
Sourcepub fn abnormal_condition(
self,
value: bool,
) -> StartInterruptionInstructionBuilder<SetAbnormalCondition<S>>where
S::AbnormalCondition: IsUnset,
pub fn abnormal_condition(
self,
value: bool,
) -> StartInterruptionInstructionBuilder<SetAbnormalCondition<S>>where
S::AbnormalCondition: IsUnset,
Required.
Whether this is an abnormal-condition instruction.
Auto Trait Implementations§
impl<S> Forget for StartInterruptionInstructionBuilder<S>
impl<S> Freeze for StartInterruptionInstructionBuilder<S>
impl<S> Move for StartInterruptionInstructionBuilder<S>
impl<S> RefUnwindSafe for StartInterruptionInstructionBuilder<S>
impl<S> Send for StartInterruptionInstructionBuilder<S>
impl<S> Sync for StartInterruptionInstructionBuilder<S>
impl<S> Unpin for StartInterruptionInstructionBuilder<S>
impl<S> UnsafeUnpin for StartInterruptionInstructionBuilder<S>
impl<S> UnwindSafe for StartInterruptionInstructionBuilder<S>
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