Struct switchboard_protos::protos::aggregator_state::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, pub responses: Vec<f64>, }
Fields
num_success: i32
num_error: i32
mean: f64
round_open_slot: u64
round_open_timestamp: i64
min_response: f64
max_response: f64
responses: Vec<f64>
Trait Implementations
impl Clone for RoundResult
[src]
impl Clone for RoundResult
[src]fn clone(&self) -> RoundResult
[src]
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]fn default() -> RoundResult
[src]
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]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 RoundResult
[src]
impl MessageWrite for RoundResult
[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<RoundResult> for RoundResult
[src]
impl PartialEq<RoundResult> for RoundResult
[src]fn eq(&self, other: &RoundResult) -> bool
[src]
fn eq(&self, other: &RoundResult) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &RoundResult) -> bool
[src]
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> 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 = T
The 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