Struct ros2_client::interfaces::BasicTypesResponse
source · pub struct BasicTypesResponse {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 BasicTypesResponse
impl BasicTypesResponse
pub fn new() -> BasicTypesResponse
Trait Implementations§
source§impl Clone for BasicTypesResponse
impl Clone for BasicTypesResponse
source§fn clone(&self) -> BasicTypesResponse
fn clone(&self) -> BasicTypesResponse
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 BasicTypesResponse
impl Debug for BasicTypesResponse
source§impl Default for BasicTypesResponse
impl Default for BasicTypesResponse
source§fn default() -> BasicTypesResponse
fn default() -> BasicTypesResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BasicTypesResponse
impl<'de> Deserialize<'de> for BasicTypesResponse
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 BasicTypesResponse
impl Serialize for BasicTypesResponse
impl Message for BasicTypesResponse
Auto Trait Implementations§
impl RefUnwindSafe for BasicTypesResponse
impl Send for BasicTypesResponse
impl Sync for BasicTypesResponse
impl Unpin for BasicTypesResponse
impl UnwindSafe for BasicTypesResponse
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