pub struct StatDescriptor {
pub domain: &'static str,
pub name: &'static str,
pub variant: &'static str,
pub unit: StatUnit,
pub labels: Vec<StatLabel>,
}Fields§
§domain: &'static str§name: &'static str§variant: &'static str§unit: StatUnit§labels: Vec<StatLabel>Trait Implementations§
Source§impl Clone for StatDescriptor
impl Clone for StatDescriptor
Source§fn clone(&self) -> StatDescriptor
fn clone(&self) -> StatDescriptor
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 StatDescriptor
impl Debug for StatDescriptor
Source§impl PartialEq for StatDescriptor
impl PartialEq for StatDescriptor
Source§impl Serialize for StatDescriptor
impl Serialize for StatDescriptor
impl Eq for StatDescriptor
impl StructuralPartialEq for StatDescriptor
Auto Trait Implementations§
impl Freeze for StatDescriptor
impl RefUnwindSafe for StatDescriptor
impl Send for StatDescriptor
impl Sync for StatDescriptor
impl Unpin for StatDescriptor
impl UnsafeUnpin for StatDescriptor
impl UnwindSafe for StatDescriptor
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