pub struct ContractOpMode {
pub mode: u8,
}Fields§
§mode: u8Implementations§
Trait Implementations§
Source§impl Clone for ContractOpMode
impl Clone for ContractOpMode
Source§fn clone(&self) -> ContractOpMode
fn clone(&self) -> ContractOpMode
Returns a duplicate 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 ContractOpMode
impl Debug for ContractOpMode
Source§impl Default for ContractOpMode
impl Default for ContractOpMode
Source§impl<'de> Deserialize<'de> for ContractOpMode
impl<'de> Deserialize<'de> for ContractOpMode
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 PartialEq for ContractOpMode
impl PartialEq for ContractOpMode
Source§impl RosMessageType for ContractOpMode
impl RosMessageType for ContractOpMode
Source§const ROS_TYPE_NAME: &'static str = "common/ContractOpMode"
const ROS_TYPE_NAME: &'static str = "common/ContractOpMode"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "b5fe61d61b8f3a1675716f37a1bc707b"
const MD5SUM: &'static str = "b5fe61d61b8f3a1675716f37a1bc707b"
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 = "uint8 mode\nuint8 GET=0\nuint8 SET=1"
const DEFINITION: &'static str = "uint8 mode\nuint8 GET=0\nuint8 SET=1"
The definition from the msg, srv, or action file
This field is optional, and only needed when using ros1 native communication
Source§impl Serialize for ContractOpMode
impl Serialize for ContractOpMode
impl StructuralPartialEq for ContractOpMode
Auto Trait Implementations§
impl Freeze for ContractOpMode
impl RefUnwindSafe for ContractOpMode
impl Send for ContractOpMode
impl Sync for ContractOpMode
impl Unpin for ContractOpMode
impl UnwindSafe for ContractOpMode
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