pub struct RobotModeDataMsg {
pub timestamp: u64,
pub is_robot_connected: bool,
pub is_real_robot_enabled: bool,
pub is_power_on_robot: bool,
pub is_emergency_stopped: bool,
pub is_protective_stopped: bool,
pub is_program_running: bool,
pub is_program_paused: bool,
}Fields§
§timestamp: u64§is_robot_connected: bool§is_real_robot_enabled: bool§is_power_on_robot: bool§is_emergency_stopped: bool§is_protective_stopped: bool§is_program_running: bool§is_program_paused: boolTrait Implementations§
Source§impl Clone for RobotModeDataMsg
impl Clone for RobotModeDataMsg
Source§fn clone(&self) -> RobotModeDataMsg
fn clone(&self) -> RobotModeDataMsg
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 RobotModeDataMsg
impl Debug for RobotModeDataMsg
Source§impl Default for RobotModeDataMsg
impl Default for RobotModeDataMsg
Source§impl<'de> Deserialize<'de> for RobotModeDataMsg
impl<'de> Deserialize<'de> for RobotModeDataMsg
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 RobotModeDataMsg
impl PartialEq for RobotModeDataMsg
Source§impl Serialize for RobotModeDataMsg
impl Serialize for RobotModeDataMsg
impl Message for RobotModeDataMsg
impl StructuralPartialEq for RobotModeDataMsg
Auto Trait Implementations§
impl Freeze for RobotModeDataMsg
impl RefUnwindSafe for RobotModeDataMsg
impl Send for RobotModeDataMsg
impl Sync for RobotModeDataMsg
impl Unpin for RobotModeDataMsg
impl UnwindSafe for RobotModeDataMsg
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