pub struct Statistic {
pub title: String,
pub stat_type: StatType,
pub value: String,
pub priority: Option<u64>,
}Expand description
Represents an overview of the backend including queues, workers, and statistics
Fields§
§title: StringOverall statistics of the backend
stat_type: StatTypeThe statistics type
value: StringThe value of the statistic
priority: Option<u64>The priority of the statistic (lower number means higher priority)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Statistic
impl<'de> Deserialize<'de> for Statistic
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 Statistic
impl RefUnwindSafe for Statistic
impl Send for Statistic
impl Sync for Statistic
impl Unpin for Statistic
impl UnwindSafe for Statistic
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