pub struct TypeDescriptionMsg {
pub type_description: TypeDescription,
pub referenced_type_descriptions: Vec<TypeDescription>,
}Expand description
ROS2 TypeDescription message structure
This is the top-level type description containing the main type and all referenced (nested) type descriptions.
Fields§
§type_description: TypeDescriptionDescription of the main type
referenced_type_descriptions: Vec<TypeDescription>Descriptions of all referenced types (nested messages)
Trait Implementations§
Source§impl Clone for TypeDescriptionMsg
impl Clone for TypeDescriptionMsg
Source§fn clone(&self) -> TypeDescriptionMsg
fn clone(&self) -> TypeDescriptionMsg
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 TypeDescriptionMsg
impl Debug for TypeDescriptionMsg
Source§impl Default for TypeDescriptionMsg
impl Default for TypeDescriptionMsg
Source§fn default() -> TypeDescriptionMsg
fn default() -> TypeDescriptionMsg
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TypeDescriptionMsg
impl<'de> Deserialize<'de> for TypeDescriptionMsg
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
Auto Trait Implementations§
impl Freeze for TypeDescriptionMsg
impl RefUnwindSafe for TypeDescriptionMsg
impl Send for TypeDescriptionMsg
impl Sync for TypeDescriptionMsg
impl Unpin for TypeDescriptionMsg
impl UnsafeUnpin for TypeDescriptionMsg
impl UnwindSafe for TypeDescriptionMsg
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