pub struct FieldDescription {
pub name: String,
pub field_type: FieldTypeDescription,
pub default_value: String,
}Expand description
Field description in a type
Matches type_description_interfaces/msg/Field
Fields§
§name: StringField name
field_type: FieldTypeDescriptionField type information
default_value: StringDefault value (empty string for RIHS01 hash computation)
Trait Implementations§
Source§impl Clone for FieldDescription
impl Clone for FieldDescription
Source§fn clone(&self) -> FieldDescription
fn clone(&self) -> FieldDescription
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 FieldDescription
impl Debug for FieldDescription
Source§impl<'de> Deserialize<'de> for FieldDescription
impl<'de> Deserialize<'de> for FieldDescription
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 FieldDescription
impl RefUnwindSafe for FieldDescription
impl Send for FieldDescription
impl Sync for FieldDescription
impl Unpin for FieldDescription
impl UnsafeUnpin for FieldDescription
impl UnwindSafe for FieldDescription
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