pub struct InstructionForNextAgent1 {
pub cd: Option<Instruction4Code>,
pub instr_inf: Option<String>,
}Fields§
§cd: Option<Instruction4Code>§instr_inf: Option<String>Implementations§
Source§impl InstructionForNextAgent1
impl InstructionForNextAgent1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for InstructionForNextAgent1
impl Clone for InstructionForNextAgent1
Source§fn clone(&self) -> InstructionForNextAgent1
fn clone(&self) -> InstructionForNextAgent1
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 InstructionForNextAgent1
impl Debug for InstructionForNextAgent1
Source§impl Default for InstructionForNextAgent1
impl Default for InstructionForNextAgent1
Source§fn default() -> InstructionForNextAgent1
fn default() -> InstructionForNextAgent1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstructionForNextAgent1
impl<'de> Deserialize<'de> for InstructionForNextAgent1
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 PartialEq for InstructionForNextAgent1
impl PartialEq for InstructionForNextAgent1
Source§impl Serialize for InstructionForNextAgent1
impl Serialize for InstructionForNextAgent1
impl StructuralPartialEq for InstructionForNextAgent1
Auto Trait Implementations§
impl Freeze for InstructionForNextAgent1
impl RefUnwindSafe for InstructionForNextAgent1
impl Send for InstructionForNextAgent1
impl Sync for InstructionForNextAgent1
impl Unpin for InstructionForNextAgent1
impl UnwindSafe for InstructionForNextAgent1
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