Struct rclrust_msg::statistics_msgs::msg::MetricsMessage
source · [−]pub struct MetricsMessage {
pub measurement_source_name: String,
pub metrics_source: String,
pub unit: String,
pub window_start: Time,
pub window_stop: Time,
pub statistics: Vec<StatisticDataPoint>,
}
Fields
measurement_source_name: String
metrics_source: String
unit: String
window_start: Time
window_stop: Time
statistics: Vec<StatisticDataPoint>
Trait Implementations
sourceimpl Clone for MetricsMessage
impl Clone for MetricsMessage
sourcefn clone(&self) -> MetricsMessage
fn clone(&self) -> MetricsMessage
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 more
sourceimpl Debug for MetricsMessage
impl Debug for MetricsMessage
sourceimpl Default for MetricsMessage
impl Default for MetricsMessage
sourceimpl InternalDefault for MetricsMessage
impl InternalDefault for MetricsMessage
sourceimpl MessageT for MetricsMessage
impl MessageT for MetricsMessage
type Raw = MetricsMessage_Raw
type RawRef = MetricsMessage_RawRef
fn type_support() -> *const c_void
unsafe fn from_raw(from: &Self::Raw) -> Self
unsafe fn to_raw_ref(&self) -> Self::RawRef
sourceimpl PartialEq<MetricsMessage> for MetricsMessage
impl PartialEq<MetricsMessage> for MetricsMessage
sourcefn eq(&self, other: &MetricsMessage) -> bool
fn eq(&self, other: &MetricsMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MetricsMessage) -> bool
fn ne(&self, other: &MetricsMessage) -> bool
This method tests for !=
.
impl StructuralPartialEq for MetricsMessage
Auto Trait Implementations
impl RefUnwindSafe for MetricsMessage
impl Send for MetricsMessage
impl Sync for MetricsMessage
impl Unpin for MetricsMessage
impl UnwindSafe for MetricsMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more