pub struct Update {
    pub schema: Option<Schema>,
    pub values: Values,
}Expand description
An update containing schema and/or values for metrics.
Used to transfer metric information between encoders and decoders. The schema is optional and only included when it has changed.
Fields§
§schema: Option<Schema>Optional schema information (included when schema changes)
values: ValuesThe metric values
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Update
 
impl<'de> Deserialize<'de> for Update
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
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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