pub struct MemorySample {
pub bytes: Option<u64>,
pub metric: String,
}Fields§
§bytes: Option<u64>§metric: StringTrait Implementations§
Source§impl Clone for MemorySample
impl Clone for MemorySample
Source§impl Debug for MemorySample
impl Debug for MemorySample
Source§impl<'de> Deserialize<'de> for MemorySample
impl<'de> Deserialize<'de> for MemorySample
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 PartialEq for MemorySample
impl PartialEq for MemorySample
Source§impl Serialize for MemorySample
impl Serialize for MemorySample
impl StructuralPartialEq for MemorySample
Auto Trait Implementations§
impl Freeze for MemorySample
impl RefUnwindSafe for MemorySample
impl Send for MemorySample
impl Sync for MemorySample
impl Unpin for MemorySample
impl UnsafeUnpin for MemorySample
impl UnwindSafe for MemorySample
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