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: boolbyte_value: Vec<u8>char_value: u8float32_value: f32float64_value: f64int8_value: i8uint8_value: u8int16_value: i16uint16_value: u16int32_value: i32uint32_value: u32int64_value: i64uint64_value: u64string_value: StringImplementations
sourceimpl BasicTypesResponse
impl BasicTypesResponse
pub fn new() -> BasicTypesResponse
Trait Implementations
sourceimpl Clone for BasicTypesResponse
impl Clone for BasicTypesResponse
sourcefn clone(&self) -> BasicTypesResponse
fn clone(&self) -> BasicTypesResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BasicTypesResponse
impl Debug for BasicTypesResponse
sourceimpl<'de> Deserialize<'de> for BasicTypesResponse
impl<'de> Deserialize<'de> for BasicTypesResponse
sourcefn 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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more