Struct switchboard_protos::protos::instruction::mod_SwitchboardInstruction::SaveResultInstruction [−][src]
pub struct SaveResultInstruction {
pub node_idx: Option<u32>,
pub result: Option<f64>,
pub error: Option<bool>,
pub round_slot: Option<u64>,
}Fields
node_idx: Option<u32>result: Option<f64>error: Option<bool>round_slot: Option<u64>Trait Implementations
impl Clone for SaveResultInstruction[src]
impl Clone for SaveResultInstruction[src]fn clone(&self) -> SaveResultInstruction[src]
fn clone(&self) -> SaveResultInstruction[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for SaveResultInstruction[src]
impl Debug for SaveResultInstruction[src]impl Default for SaveResultInstruction[src]
impl Default for SaveResultInstruction[src]fn default() -> SaveResultInstruction[src]
fn default() -> SaveResultInstruction[src]Returns the “default value” for a type. Read more
impl<'a> MessageRead<'a> for SaveResultInstruction[src]
impl<'a> MessageRead<'a> for SaveResultInstruction[src]fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>[src]
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>[src]Constructs an instance of Self by reading from the given bytes
via the given reader. Read more
impl MessageWrite for SaveResultInstruction[src]
impl MessageWrite for SaveResultInstruction[src]fn write_message<W: WriterBackend>(&self, w: &mut Writer<W>) -> Result<()>[src]
fn write_message<W: WriterBackend>(&self, w: &mut Writer<W>) -> Result<()>[src]Writes Self into W writer
impl PartialEq<SaveResultInstruction> for SaveResultInstruction[src]
impl PartialEq<SaveResultInstruction> for SaveResultInstruction[src]fn eq(&self, other: &SaveResultInstruction) -> bool[src]
fn eq(&self, other: &SaveResultInstruction) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &SaveResultInstruction) -> bool[src]
fn ne(&self, other: &SaveResultInstruction) -> bool[src]This method tests for !=.
impl StructuralPartialEq for SaveResultInstruction[src]
Auto Trait Implementations
impl RefUnwindSafe for SaveResultInstruction
impl Send for SaveResultInstruction
impl Sync for SaveResultInstruction
impl Unpin for SaveResultInstruction
impl UnwindSafe for SaveResultInstruction
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more