pub struct StartInterruptionInstruction {
pub message_id: Id,
pub id: Id,
pub power_profile_id: Id,
pub sequence_container_id: Id,
pub power_sequence_id: Id,
pub execution_time: Timestamp,
pub abnormal_condition: bool,
}Expand description
The CEM pausing a running sequence.
Fields§
§message_id: IdThis message’s identifier.
id: IdThe instruction’s own identifier.
power_profile_id: IdThe profile.
sequence_container_id: IdThe container.
power_sequence_id: IdThe sequence to interrupt. It must be one that says it is interruptible.
execution_time: TimestampWhen to interrupt. In the past means as soon as possible.
abnormal_condition: boolWhether this is an abnormal-condition instruction.
Implementations§
Source§impl StartInterruptionInstruction
impl StartInterruptionInstruction
Sourcepub fn builder() -> StartInterruptionInstructionBuilder
pub fn builder() -> StartInterruptionInstructionBuilder
Create an instance of StartInterruptionInstruction using the builder syntax
Trait Implementations§
Source§impl Clone for StartInterruptionInstruction
impl Clone for StartInterruptionInstruction
Source§fn clone(&self) -> StartInterruptionInstruction
fn clone(&self) -> StartInterruptionInstruction
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 StartInterruptionInstruction
impl Debug for StartInterruptionInstruction
Source§impl<'de> Deserialize<'de> for StartInterruptionInstruction
impl<'de> Deserialize<'de> for StartInterruptionInstruction
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<StartInterruptionInstruction> for Message
impl From<StartInterruptionInstruction> for Message
Source§fn from(value: StartInterruptionInstruction) -> Self
fn from(value: StartInterruptionInstruction) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for StartInterruptionInstruction
Auto Trait Implementations§
impl Freeze for StartInterruptionInstruction
impl RefUnwindSafe for StartInterruptionInstruction
impl Send for StartInterruptionInstruction
impl Sync for StartInterruptionInstruction
impl Unpin for StartInterruptionInstruction
impl UnsafeUnpin for StartInterruptionInstruction
impl UnwindSafe for StartInterruptionInstruction
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