pub struct Byte {
pub data: u8,
}Fields§
§data: u8Trait Implementations§
Source§impl<'de> Deserialize<'de> for Byte
impl<'de> Deserialize<'de> for Byte
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 RosMessageType for Byte
impl RosMessageType for Byte
Source§const ROS_TYPE_NAME: &'static str = "std_msgs/Byte"
const ROS_TYPE_NAME: &'static str = "std_msgs/Byte"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "ad736a2e8818154c487bb80fe42ce43b"
const MD5SUM: &'static str = "ad736a2e8818154c487bb80fe42ce43b"
The computed md5sum of the message file and its dependencies
This field is optional, and only needed when using ros1 native communication
Source§const DEFINITION: &'static str = "# This was originally provided as an example message.\n# It is deprecated as of Foxy\n# It is recommended to create your own semantically meaningful message.\n# However if you would like to continue using this please use the equivalent in example_msgs.\n\nbyte data"
const DEFINITION: &'static str = "# This was originally provided as an example message.\n# It is deprecated as of Foxy\n# It is recommended to create your own semantically meaningful message.\n# However if you would like to continue using this please use the equivalent in example_msgs.\n\nbyte data"
The definition from the msg, srv, or action file
This field is optional, and only needed when using ros1 native communication
impl StructuralPartialEq for Byte
Auto Trait Implementations§
impl Freeze for Byte
impl RefUnwindSafe for Byte
impl Send for Byte
impl Sync for Byte
impl Unpin for Byte
impl UnwindSafe for Byte
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