pub struct InstructionStatusNode {
pub lifecycle: InstructionLifecycle,
pub message: String,
}Fields§
§lifecycle: InstructionLifecycle§message: StringImplementations§
Source§impl InstructionStatusNode
impl InstructionStatusNode
pub fn new(lifecycle: InstructionLifecycle) -> Self
pub fn with_message<S: Into<String>>( lifecycle: InstructionLifecycle, message: S, ) -> Self
Trait Implementations§
Source§impl Clone for InstructionStatusNode
impl Clone for InstructionStatusNode
Source§fn clone(&self) -> InstructionStatusNode
fn clone(&self) -> InstructionStatusNode
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 Debug for InstructionStatusNode
impl Debug for InstructionStatusNode
Source§impl Default for InstructionStatusNode
impl Default for InstructionStatusNode
Source§fn default() -> InstructionStatusNode
fn default() -> InstructionStatusNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstructionStatusNode
impl<'de> Deserialize<'de> for InstructionStatusNode
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<InstructionStatusNode> for Node
impl From<InstructionStatusNode> for Node
Source§fn from(value: InstructionStatusNode) -> Self
fn from(value: InstructionStatusNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for InstructionStatusNode
impl NodeTrait for InstructionStatusNode
const KIND: &'static str = "instructionStatusNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for InstructionStatusNode
impl PartialEq for InstructionStatusNode
Source§impl Serialize for InstructionStatusNode
impl Serialize for InstructionStatusNode
impl StructuralPartialEq for InstructionStatusNode
Auto Trait Implementations§
impl Freeze for InstructionStatusNode
impl RefUnwindSafe for InstructionStatusNode
impl Send for InstructionStatusNode
impl Sync for InstructionStatusNode
impl Unpin for InstructionStatusNode
impl UnwindSafe for InstructionStatusNode
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