pub struct AddDiagnosticsResponse {
pub success: bool,
pub message: String<256>,
}Expand description
AddDiagnostics response message
Fields§
§success: bool§message: String<256>Trait Implementations§
Source§impl Clone for AddDiagnosticsResponse
impl Clone for AddDiagnosticsResponse
Source§fn clone(&self) -> AddDiagnosticsResponse
fn clone(&self) -> AddDiagnosticsResponse
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 AddDiagnosticsResponse
impl Debug for AddDiagnosticsResponse
Source§impl Default for AddDiagnosticsResponse
impl Default for AddDiagnosticsResponse
Source§fn default() -> AddDiagnosticsResponse
fn default() -> AddDiagnosticsResponse
Returns the “default value” for a type. Read more
Source§impl Deserialize for AddDiagnosticsResponse
impl Deserialize for AddDiagnosticsResponse
Source§fn deserialize(reader: &mut CdrReader<'_>) -> Result<Self, DeserError>
fn deserialize(reader: &mut CdrReader<'_>) -> Result<Self, DeserError>
Deserialize a value from the CDR reader
Source§impl Message for AddDiagnosticsResponse
impl Message for AddDiagnosticsResponse
Source§const MAX_SERIALIZED_SIZE_XCDR1: Option<usize> = _
const MAX_SERIALIZED_SIZE_XCDR1: Option<usize> = _
Phase 380 — the largest this type can serialize to, per encoding, or
None when it is unbounded. Read moreSource§const MAX_SERIALIZED_SIZE_XCDR2: Option<usize> = _
const MAX_SERIALIZED_SIZE_XCDR2: Option<usize> = _
Source§impl PartialEq for AddDiagnosticsResponse
impl PartialEq for AddDiagnosticsResponse
Source§impl RosMessage for AddDiagnosticsResponse
impl RosMessage for AddDiagnosticsResponse
Source§const TYPE_NAME: &'static str = "diagnostic_msgs::srv::dds_::AddDiagnostics_Response_"
const TYPE_NAME: &'static str = "diagnostic_msgs::srv::dds_::AddDiagnostics_Response_"
Full ROS type name in DDS format Read more
Source§const TYPE_HASH: &'static str = "TypeHashNotSupported"
const TYPE_HASH: &'static str = "TypeHashNotSupported"
RIHS (ROS Interface Hashing Standard) type hash Read more
Source§const MAX_SERIALIZED_BOUND: Option<usize>
const MAX_SERIALIZED_BOUND: Option<usize>
Issue 1179 / phase-498 W3 – the largest serialized size of this type,
over XCDR1 and XCDR2, or
None when no bound exists (an unbounded
member) or nobody stated one. Read moreSource§const SERIALIZATION_FORMAT_ID: SerializationFormatId = nros_serdes::format::SerializationFormatId::Cdr
const SERIALIZATION_FORMAT_ID: SerializationFormatId = nros_serdes::format::SerializationFormatId::Cdr
RFC-0088 — the serialization format this message’s bytes are in. Read more
Source§const STAMP_OFFSET: Option<usize> = None
const STAMP_OFFSET: Option<usize> = None
RFC-0052 / phase-296 W3a — byte offset of
header.stamp.sec within
this type’s serialized CDR payload (encapsulation header included),
or None when the type has no leading std_msgs/Header /
builtin_interfaces/Time. Codegen-const, never runtime
introspection: CDR here is little-endian with a 4-byte encapsulation
header and Time { i32 sec; u32 nanosec } is 4-byte aligned, so a
Header-leading (or Time-leading) type carries sec at byte 4 and
nanosec at byte 8. On-target max_age monitors peek these two
words from the raw receive buffer before deserialization.Source§impl Serialize for AddDiagnosticsResponse
impl Serialize for AddDiagnosticsResponse
impl StructuralPartialEq for AddDiagnosticsResponse
Auto Trait Implementations§
impl Freeze for AddDiagnosticsResponse
impl RefUnwindSafe for AddDiagnosticsResponse
impl Send for AddDiagnosticsResponse
impl Sync for AddDiagnosticsResponse
impl Unpin for AddDiagnosticsResponse
impl UnsafeUnpin for AddDiagnosticsResponse
impl UnwindSafe for AddDiagnosticsResponse
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