Struct ros2_client::parameters::raw::ParameterValue
source · pub struct ParameterValue {
pub ptype: u8,
pub boolean_value: bool,
pub int_value: i64,
pub double_value: f64,
pub string_value: String,
pub byte_array: Vec<u8>,
pub bool_array: Vec<bool>,
pub int_array: Vec<i64>,
pub double_array: Vec<f64>,
pub string_array: Vec<String>,
}
Expand description
Fields§
§ptype: u8
§boolean_value: bool
§int_value: i64
§double_value: f64
§string_value: String
§byte_array: Vec<u8>
§bool_array: Vec<bool>
§int_array: Vec<i64>
§double_array: Vec<f64>
§string_array: Vec<String>
Trait Implementations§
source§impl Clone for ParameterValue
impl Clone for ParameterValue
source§fn clone(&self) -> ParameterValue
fn clone(&self) -> ParameterValue
Returns a copy of the value. Read more
1.0.0 · 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 ParameterValue
impl Debug 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 ParameterValue
impl From<ParameterValue> for ParameterValue
source§fn from(rpv: ParameterValue) -> ParameterValue
fn from(rpv: ParameterValue) -> ParameterValue
Converts to this type from the input type.
source§impl From<ParameterValue> for ParameterValue
impl From<ParameterValue> for ParameterValue
source§fn from(p: ParameterValue) -> ParameterValue
fn from(p: ParameterValue) -> ParameterValue
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParameterValue
impl RefUnwindSafe for ParameterValue
impl Send for ParameterValue
impl Sync for ParameterValue
impl Unpin 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