pub struct MetricReply {
pub name: String,
pub object: Option<String>,
pub value: MetricValue,
}Expand description
io.systemd.Metrics.List reply.
Fields§
§name: String§object: Option<String>§value: MetricValueTrait Implementations§
Source§impl Clone for MetricReply
impl Clone for MetricReply
Source§fn clone(&self) -> MetricReply
fn clone(&self) -> MetricReply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetricReply
impl Debug for MetricReply
Source§impl<'de> Deserialize<'de> for MetricReply
impl<'de> Deserialize<'de> for MetricReply
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<MetricReply> for __MetricsServiceReplyStreamParams
impl From<MetricReply> for __MetricsServiceReplyStreamParams
Source§fn from(v: MetricReply) -> Self
fn from(v: MetricReply) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MetricReply
impl PartialEq for MetricReply
Source§fn eq(&self, other: &MetricReply) -> bool
fn eq(&self, other: &MetricReply) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MetricReply
impl Serialize for MetricReply
impl StructuralPartialEq for MetricReply
Auto Trait Implementations§
impl Freeze for MetricReply
impl RefUnwindSafe for MetricReply
impl Send for MetricReply
impl Sync for MetricReply
impl Unpin for MetricReply
impl UnsafeUnpin for MetricReply
impl UnwindSafe for MetricReply
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