pub struct TypeDescription {
pub type_name: String,
pub fields: Vec<FieldDescription>,
}Expand description
Type description for a single message type
Matches type_description_interfaces/msg/IndividualTypeDescription
Fields§
§type_name: StringFully qualified type name (e.g., “std_msgs/msg/String”)
fields: Vec<FieldDescription>Fields in this type
Trait Implementations§
Source§impl Clone for TypeDescription
impl Clone for TypeDescription
Source§fn clone(&self) -> TypeDescription
fn clone(&self) -> TypeDescription
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 TypeDescription
impl Debug for TypeDescription
Source§impl Default for TypeDescription
impl Default for TypeDescription
Source§fn default() -> TypeDescription
fn default() -> TypeDescription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TypeDescription
impl<'de> Deserialize<'de> for TypeDescription
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 TypeDescription
impl RefUnwindSafe for TypeDescription
impl Send for TypeDescription
impl Sync for TypeDescription
impl Unpin for TypeDescription
impl UnsafeUnpin for TypeDescription
impl UnwindSafe for TypeDescription
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