pub struct Statistic {
pub subsystem: String,
pub name: String,
pub value: u64,
pub persistent: bool,
}Expand description
Один показатель.
Fields§
§subsystem: StringПодсистема, которой принадлежит показатель.
name: StringИмя показателя. В GNUnet это фраза на английском, начинающаяся с #,
например # peers connected.
value: u64Текущее значение.
persistent: boolСохраняется ли значение между перезапусками сервиса.
Trait Implementations§
impl Eq for Statistic
impl StructuralPartialEq for Statistic
Auto Trait Implementations§
impl Freeze for Statistic
impl RefUnwindSafe for Statistic
impl Send for Statistic
impl Sync for Statistic
impl Unpin for Statistic
impl UnsafeUnpin 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