pub struct PutMetrics {
pub trace_id: Uuid,
pub node_id: NodeId,
pub checkpoint_id: Option<CheckpointId>,
pub time: OffsetDateTime,
pub metrics: Update,
}
Fields§
§trace_id: Uuid
§node_id: NodeId
§checkpoint_id: Option<CheckpointId>
§time: OffsetDateTime
§metrics: Update
Trait Implementations§
Source§impl Channels<TraceProtocol> for PutMetrics
impl Channels<TraceProtocol> for PutMetrics
Source§impl Debug for PutMetrics
impl Debug for PutMetrics
Source§impl<'de> Deserialize<'de> for PutMetrics
impl<'de> Deserialize<'de> for PutMetrics
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 From<PutMetrics> for TraceProtocol
impl From<PutMetrics> for TraceProtocol
Source§fn from(value: PutMetrics) -> Self
fn from(value: PutMetrics) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PutMetrics
impl RefUnwindSafe for PutMetrics
impl Send for PutMetrics
impl Sync for PutMetrics
impl Unpin for PutMetrics
impl UnwindSafe for PutMetrics
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