Struct qapi_qmp::StatsSchemaValue
source · [−]pub struct StatsSchemaValue {
pub base: Option<i8>,
pub bucket_size: Option<u32>,
pub unit: Option<StatsUnit>,
pub exponent: i16,
pub name: String,
pub type_: StatsType,
}Fields
base: Option<i8>bucket_size: Option<u32>unit: Option<StatsUnit>exponent: i16name: Stringtype_: StatsTypeTrait Implementations
sourceimpl Clone for StatsSchemaValue
impl Clone for StatsSchemaValue
sourcefn clone(&self) -> StatsSchemaValue
fn clone(&self) -> StatsSchemaValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for StatsSchemaValue
impl Debug for StatsSchemaValue
sourceimpl<'de> Deserialize<'de> for StatsSchemaValue
impl<'de> Deserialize<'de> for StatsSchemaValue
sourcefn 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
sourceimpl Serialize for StatsSchemaValue
impl Serialize for StatsSchemaValue
Auto Trait Implementations
impl RefUnwindSafe for StatsSchemaValue
impl Send for StatsSchemaValue
impl Sync for StatsSchemaValue
impl Unpin for StatsSchemaValue
impl UnwindSafe for StatsSchemaValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more