pub struct ControllerState {
pub header: Header,
pub state: i32,
pub progress: u32,
pub progress_in_relation_to: u32,
pub info: String,
}Fields§
§header: Header§state: i32§progress: u32§progress_in_relation_to: u32§info: StringImplementations§
Source§impl ControllerState
impl ControllerState
pub const STATE_IDLE: i32 = 0i32
pub const STATE_DRIVING: i32 = 1i32
pub const STATE_FINISHED: i32 = 2i32
Trait Implementations§
Source§impl Clone for ControllerState
impl Clone for ControllerState
Source§fn clone(&self) -> ControllerState
fn clone(&self) -> ControllerState
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 ControllerState
impl Debug for ControllerState
Source§impl Default for ControllerState
impl Default for ControllerState
Source§impl<'de> Deserialize<'de> for ControllerState
impl<'de> Deserialize<'de> for ControllerState
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 ControllerState
impl PartialEq for ControllerState
Source§impl Serialize for ControllerState
impl Serialize for ControllerState
impl Message for ControllerState
impl StructuralPartialEq for ControllerState
Auto Trait Implementations§
impl Freeze for ControllerState
impl RefUnwindSafe for ControllerState
impl Send for ControllerState
impl Sync for ControllerState
impl Unpin for ControllerState
impl UnwindSafe for ControllerState
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