Struct switchboard_program::RoundResult [−][src]
pub struct RoundResult {
    pub num_success: Option<i32>,
    pub num_error: Option<i32>,
    pub result: Option<f64>,
    pub round_open_slot: Option<u64>,
    pub round_open_timestamp: Option<i64>,
    pub min_response: Option<f64>,
    pub max_response: Option<f64>,
    pub medians: Vec<f64, Global>,
}Fields
num_success: Option<i32>num_error: Option<i32>result: Option<f64>round_open_slot: Option<u64>round_open_timestamp: Option<i64>min_response: Option<f64>max_response: Option<f64>medians: Vec<f64, Global>Trait Implementations
impl BorshDeserialize for RoundResult where
    Option<i32>: BorshDeserialize,
    Option<f64>: BorshDeserialize,
    Option<u64>: BorshDeserialize,
    Option<i64>: BorshDeserialize,
    Vec<f64, Global>: BorshDeserialize, [src]
impl BorshDeserialize for RoundResult where
    Option<i32>: BorshDeserialize,
    Option<f64>: BorshDeserialize,
    Option<u64>: BorshDeserialize,
    Option<i64>: BorshDeserialize,
    Vec<f64, Global>: BorshDeserialize, [src]Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more
Deserialize this instance from a slice of bytes.
Whether Self is u8.
NOTE: Vec<u8> is the most common use-case for serialization and deserialization, it’s
worth handling it as a special case to improve performance.
It’s a workaround for specific Vec<u8> implementation versus generic Vec<T>
implementation. See https://github.com/rust-lang/rfcs/pull/1210 for details. Read more
impl BorshSerialize for RoundResult where
    Option<i32>: BorshSerialize,
    Option<f64>: BorshSerialize,
    Option<u64>: BorshSerialize,
    Option<i64>: BorshSerialize,
    Vec<f64, Global>: BorshSerialize, [src]
impl BorshSerialize for RoundResult where
    Option<i32>: BorshSerialize,
    Option<f64>: BorshSerialize,
    Option<u64>: BorshSerialize,
    Option<i64>: BorshSerialize,
    Vec<f64, Global>: BorshSerialize, [src]Serialize this instance into a vector of bytes.
Whether Self is u8.
NOTE: Vec<u8> is the most common use-case for serialization and deserialization, it’s
worth handling it as a special case to improve performance.
It’s a workaround for specific Vec<u8> implementation versus generic Vec<T>
implementation. See https://github.com/rust-lang/rfcs/pull/1210 for details. Read more
Returns the “default value” for a type. Read more
Constructs an instance of Self by reading from the given bytes
via the given reader. Read more
Computes necessary binary size of self once serialized in protobuf
pub fn write_message<W>(&self, w: &mut Writer<W>) -> Result<(), Error> where
    W: WriterBackend, [src]
pub fn write_message<W>(&self, w: &mut Writer<W>) -> Result<(), Error> where
    W: WriterBackend, [src]Writes Self into W writer
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for RoundResultimpl Send for RoundResultimpl Sync for RoundResultimpl Unpin for RoundResultimpl UnwindSafe for RoundResultBlanket Implementations
pub default fn example() -> TMutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V