Struct ros2_client::interfaces::BasicTypesRequest
source · pub struct BasicTypesRequest {Show 14 fields
pub bool_value: bool,
pub byte_value: Vec<u8>,
pub char_value: u8,
pub float32_value: f32,
pub float64_value: f64,
pub int8_value: i8,
pub uint8_value: u8,
pub int16_value: i16,
pub uint16_value: u16,
pub int32_value: i32,
pub uint32_value: u32,
pub int64_value: i64,
pub uint64_value: u64,
pub string_value: String,
}
Fields§
§bool_value: bool
§byte_value: Vec<u8>
§char_value: u8
§float32_value: f32
§float64_value: f64
§int8_value: i8
§uint8_value: u8
§int16_value: i16
§uint16_value: u16
§int32_value: i32
§uint32_value: u32
§int64_value: i64
§uint64_value: u64
§string_value: String
Implementations§
source§impl BasicTypesRequest
impl BasicTypesRequest
pub fn new() -> BasicTypesRequest
Trait Implementations§
source§impl Clone for BasicTypesRequest
impl Clone for BasicTypesRequest
source§fn clone(&self) -> BasicTypesRequest
fn clone(&self) -> BasicTypesRequest
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 BasicTypesRequest
impl Debug for BasicTypesRequest
source§impl Default for BasicTypesRequest
impl Default for BasicTypesRequest
source§fn default() -> BasicTypesRequest
fn default() -> BasicTypesRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BasicTypesRequest
impl<'de> Deserialize<'de> for BasicTypesRequest
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 Serialize for BasicTypesRequest
impl Serialize for BasicTypesRequest
impl Message for BasicTypesRequest
Auto Trait Implementations§
impl RefUnwindSafe for BasicTypesRequest
impl Send for BasicTypesRequest
impl Sync for BasicTypesRequest
impl Unpin for BasicTypesRequest
impl UnwindSafe for BasicTypesRequest
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