Struct rclrust_msg::diagnostic_msgs::msg::DiagnosticStatus
source · [−]pub struct DiagnosticStatus {
pub level: u8,
pub name: String,
pub message: String,
pub hardware_id: String,
pub values: Vec<KeyValue>,
}
Fields
level: u8
name: String
message: String
hardware_id: String
values: Vec<KeyValue>
Implementations
Trait Implementations
sourceimpl Clone for DiagnosticStatus
impl Clone for DiagnosticStatus
sourcefn clone(&self) -> DiagnosticStatus
fn clone(&self) -> DiagnosticStatus
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 DiagnosticStatus
impl Debug for DiagnosticStatus
sourceimpl Default for DiagnosticStatus
impl Default for DiagnosticStatus
sourceimpl InternalDefault for DiagnosticStatus
impl InternalDefault for DiagnosticStatus
sourceimpl MessageT for DiagnosticStatus
impl MessageT for DiagnosticStatus
type Raw = DiagnosticStatus_Raw
type RawRef = DiagnosticStatus_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<DiagnosticStatus> for DiagnosticStatus
impl PartialEq<DiagnosticStatus> for DiagnosticStatus
sourcefn eq(&self, other: &DiagnosticStatus) -> bool
fn eq(&self, other: &DiagnosticStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DiagnosticStatus) -> bool
fn ne(&self, other: &DiagnosticStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for DiagnosticStatus
Auto Trait Implementations
impl RefUnwindSafe for DiagnosticStatus
impl Send for DiagnosticStatus
impl Sync for DiagnosticStatus
impl Unpin for DiagnosticStatus
impl UnwindSafe for DiagnosticStatus
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