pub struct ProfileSampleTypeV1 {
pub sample_type: String,
pub unit: String,
}Fields§
§sample_type: String§unit: StringTrait Implementations§
Source§impl Clone for ProfileSampleTypeV1
impl Clone for ProfileSampleTypeV1
Source§impl Debug for ProfileSampleTypeV1
impl Debug for ProfileSampleTypeV1
Source§impl<'de> Deserialize<'de> for ProfileSampleTypeV1
impl<'de> Deserialize<'de> for ProfileSampleTypeV1
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
impl Eq for ProfileSampleTypeV1
Source§impl Ord for ProfileSampleTypeV1
impl Ord for ProfileSampleTypeV1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProfileSampleTypeV1
impl PartialEq for ProfileSampleTypeV1
Source§impl PartialOrd for ProfileSampleTypeV1
impl PartialOrd for ProfileSampleTypeV1
Source§impl Serialize for ProfileSampleTypeV1
impl Serialize for ProfileSampleTypeV1
impl StructuralPartialEq for ProfileSampleTypeV1
Auto Trait Implementations§
impl Freeze for ProfileSampleTypeV1
impl RefUnwindSafe for ProfileSampleTypeV1
impl Send for ProfileSampleTypeV1
impl Sync for ProfileSampleTypeV1
impl Unpin for ProfileSampleTypeV1
impl UnsafeUnpin for ProfileSampleTypeV1
impl UnwindSafe for ProfileSampleTypeV1
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