pub struct StatisticsCurrentStat {
pub devid: i32,
pub error: Option<String>,
pub error_code: Option<i32>,
pub key: String,
pub time: i32,
pub value: Option<String>,
}
Fields§
§devid: i32
Devid of node of statistic or 0 for cluster scoped statistics.
error: Option<String>
Key specific error string, if applicable.
error_code: Option<i32>
Key specific error number, if applicable.
key: String
Key name of statistic.
time: i32
Unix Epoch time in seconds that statistic was collected.
value: Option<String>
Key dependent value.
Trait Implementations§
Source§impl Debug for StatisticsCurrentStat
impl Debug for StatisticsCurrentStat
Source§impl<'de> Deserialize<'de> for StatisticsCurrentStat
impl<'de> Deserialize<'de> for StatisticsCurrentStat
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
Auto Trait Implementations§
impl Freeze for StatisticsCurrentStat
impl RefUnwindSafe for StatisticsCurrentStat
impl Send for StatisticsCurrentStat
impl Sync for StatisticsCurrentStat
impl Unpin for StatisticsCurrentStat
impl UnwindSafe for StatisticsCurrentStat
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more