pub struct FleetCommunication {
pub fms_connected: Option<bool>,
pub fms_server: Option<String>,
pub last_fms_heartbeat: Option<DateTime<Utc>>,
pub r2r_enabled: Option<bool>,
pub robots_in_range: Option<u32>,
pub peer_robot_ids: Option<Vec<String>>,
pub messages_sent: Option<u64>,
pub messages_received: Option<u64>,
}Expand description
Fleet communication status.
Fields§
§fms_connected: Option<bool>Fleet management system connection
fms_server: Option<String>FMS server address
last_fms_heartbeat: Option<DateTime<Utc>>Last FMS heartbeat
r2r_enabled: Option<bool>Robot-to-robot communication enabled
robots_in_range: Option<u32>Number of robots in communication range
peer_robot_ids: Option<Vec<String>>Peer robot IDs
messages_sent: Option<u64>Messages sent
messages_received: Option<u64>Messages received
Trait Implementations§
Source§impl Clone for FleetCommunication
impl Clone for FleetCommunication
Source§fn clone(&self) -> FleetCommunication
fn clone(&self) -> FleetCommunication
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 FleetCommunication
impl Debug for FleetCommunication
Source§impl Default for FleetCommunication
impl Default for FleetCommunication
Source§fn default() -> FleetCommunication
fn default() -> FleetCommunication
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FleetCommunication
impl<'de> Deserialize<'de> for FleetCommunication
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
Auto Trait Implementations§
impl Freeze for FleetCommunication
impl RefUnwindSafe for FleetCommunication
impl Send for FleetCommunication
impl Sync for FleetCommunication
impl Unpin for FleetCommunication
impl UnwindSafe for FleetCommunication
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