Struct switchboard_program::RoundResult [−][src]
pub struct RoundResult {
pub num_success: i32,
pub num_error: i32,
pub mean: f64,
pub round_open_slot: u64,
pub round_open_timestamp: i64,
pub min_response: f64,
pub max_response: f64,
}Fields
num_success: i32num_error: i32mean: f64round_open_slot: u64round_open_timestamp: i64min_response: f64max_response: f64Trait Implementations
impl Clone for RoundResult[src]
impl Clone for RoundResult[src]pub fn clone(&self) -> RoundResult[src]
pub fn clone(&self) -> RoundResult[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 RoundResult[src]
impl Debug for RoundResult[src]impl Default for RoundResult[src]
impl Default for RoundResult[src]pub fn default() -> RoundResult[src]
pub fn default() -> RoundResult[src]Returns the “default value” for a type. Read more
impl<'a> MessageRead<'a> for RoundResult[src]
impl<'a> MessageRead<'a> for RoundResult[src]pub fn from_reader(
r: &mut BytesReader,
bytes: &'a [u8]
) -> Result<RoundResult, Error>[src]
pub fn from_reader(
r: &mut BytesReader,
bytes: &'a [u8]
) -> Result<RoundResult, Error>[src]Constructs an instance of Self by reading from the given bytes
via the given reader. Read more
impl MessageWrite for RoundResult[src]
impl MessageWrite for RoundResult[src]pub fn get_size(&self) -> usize[src]
pub fn get_size(&self) -> usize[src]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
impl PartialEq<RoundResult> for RoundResult[src]
impl PartialEq<RoundResult> for RoundResult[src]pub fn eq(&self, other: &RoundResult) -> bool[src]
pub fn eq(&self, other: &RoundResult) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
pub fn ne(&self, other: &RoundResult) -> bool[src]
pub fn ne(&self, other: &RoundResult) -> bool[src]This method tests for !=.
impl StructuralPartialEq for RoundResult[src]
Auto Trait Implementations
impl RefUnwindSafe for RoundResult
impl Send for RoundResult
impl Sync for RoundResult
impl Unpin for RoundResult
impl UnwindSafe for RoundResult
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for Tpub default fn example() -> T
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> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
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
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,