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