pub struct JobStatisticsSample {
pub client_to_stats: HashMap<ClientId, JobStateCounts>,
}Expand description
Single point-in-time snapshot TODO: This should contain a timestamp
Fields§
§client_to_stats: HashMap<ClientId, JobStateCounts>Trait Implementations§
Source§impl Clone for JobStatisticsSample
impl Clone for JobStatisticsSample
Source§fn clone(&self) -> JobStatisticsSample
fn clone(&self) -> JobStatisticsSample
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 JobStatisticsSample
impl Debug for JobStatisticsSample
Source§impl<'de> Deserialize<'de> for JobStatisticsSample
impl<'de> Deserialize<'de> for JobStatisticsSample
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 FromIterator<JobStatisticsSample> for JobStatisticsTimeSeries
impl FromIterator<JobStatisticsSample> for JobStatisticsTimeSeries
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = JobStatisticsSample>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = JobStatisticsSample>,
Creates a value from an iterator. Read more
Source§impl PartialEq for JobStatisticsSample
impl PartialEq for JobStatisticsSample
Source§impl Serialize for JobStatisticsSample
impl Serialize for JobStatisticsSample
impl Eq for JobStatisticsSample
impl StructuralPartialEq for JobStatisticsSample
Auto Trait Implementations§
impl Freeze for JobStatisticsSample
impl RefUnwindSafe for JobStatisticsSample
impl Send for JobStatisticsSample
impl Sync for JobStatisticsSample
impl Unpin for JobStatisticsSample
impl UnwindSafe for JobStatisticsSample
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