#[repr(C)]pub struct ParameterValue {
pub type: u8,
pub bool_value: bool,
pub integer_value: i64,
pub double_value: f64,
pub string_value: RosString<0>,
pub byte_array_value: ByteSeq<0>,
pub bool_array_value: BoolSeq<0>,
pub integer_array_value: I64Seq<0>,
pub double_array_value: F64Seq<0>,
pub string_array_value: RosStringSeq<0, 0>,
}Fields§
§type: u8§bool_value: bool§integer_value: i64§double_value: f64§string_value: RosString<0>§byte_array_value: ByteSeq<0>§bool_array_value: BoolSeq<0>§integer_array_value: I64Seq<0>§double_array_value: F64Seq<0>§string_array_value: RosStringSeq<0, 0>Implementations§
Trait Implementations§
Source§impl Clone for ParameterValue
impl Clone for ParameterValue
Source§impl Debug for ParameterValue
impl Debug for ParameterValue
Source§impl Default for ParameterValue
impl Default for ParameterValue
Source§impl<'de> Deserialize<'de> for ParameterValue
impl<'de> Deserialize<'de> for ParameterValue
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
Source§impl From<&ParameterValue> for Value
impl From<&ParameterValue> for Value
Source§fn from(var: &ParameterValue) -> Self
fn from(var: &ParameterValue) -> Self
Converts to this type from the input type.
Source§impl From<&Value> for ParameterValue
impl From<&Value> for ParameterValue
Source§impl PartialEq for ParameterValue
impl PartialEq for ParameterValue
Source§impl RosFieldType for ParameterValue
impl RosFieldType for ParameterValue
Source§fn ros_field_type() -> FieldType
fn ros_field_type() -> FieldType
Returns the FieldType for this type when used as a field.
Source§fn referenced_types() -> Vec<IndividualTypeDescription>
fn referenced_types() -> Vec<IndividualTypeDescription>
Returns referenced type descriptions (empty for primitives, populated for nested types).
Source§impl Serialize for ParameterValue
impl Serialize for ParameterValue
Source§impl TryClone for ParameterValue
impl TryClone for ParameterValue
Source§impl TypeDescription for ParameterValue
impl TypeDescription for ParameterValue
Source§fn type_description() -> TypeDescriptionMsg
fn type_description() -> TypeDescriptionMsg
Get the type description for this type Read more
Source§fn message_type_name() -> MessageTypeName
fn message_type_name() -> MessageTypeName
Get the message type name information Read more
Auto Trait Implementations§
impl Freeze for ParameterValue
impl RefUnwindSafe for ParameterValue
impl Send for ParameterValue
impl Sync for ParameterValue
impl Unpin for ParameterValue
impl UnsafeUnpin for ParameterValue
impl UnwindSafe for ParameterValue
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