pub struct ControllerStatus {
pub uuid: Uuid,
pub model_uuid: Uuid,
pub model_id: String,
pub commandset_version: Option<u16>,
pub frame_format_version: Option<u8>,
pub firmware_version: Option<String>,
pub firmware_version_available: Option<String>,
pub manufacturer: Option<String>,
pub state: ControllerState,
pub job_set: Option<JobSet>,
pub modules: IndexMap<String, ModuleState>,
}
Expand description
Description of the status of a controller.
Fields§
§uuid: Uuid
The unique uuid of the controller (serial number).
model_uuid: Uuid
The unique uuid of the model.
model_id: String
The model identifier string of the controller.
commandset_version: Option<u16>
The commandset version supported by the controller.
frame_format_version: Option<u8>
The frame format version supported by the controller.
firmware_version: Option<String>
The firmware version running on the controller.
firmware_version_available: Option<String>
The latest firmware version which can be loaded on the controller.
manufacturer: Option<String>
The manufacturer string.
state: ControllerState
The current state of the controller.
job_set: Option<JobSet>
The currently loaded jobset::JobSet
.
modules: IndexMap<String, ModuleState>
The module states indexed by their identifier string.
Implementations§
Trait Implementations§
Source§impl Clone for ControllerStatus
impl Clone for ControllerStatus
Source§fn clone(&self) -> ControllerStatus
fn clone(&self) -> ControllerStatus
Returns a copy 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 ControllerStatus
impl Debug for ControllerStatus
Source§impl Default for ControllerStatus
impl Default for ControllerStatus
Source§fn default() -> ControllerStatus
fn default() -> ControllerStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ControllerStatus
impl<'de> Deserialize<'de> for ControllerStatus
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 ControllerStatus
impl PartialEq for ControllerStatus
Source§impl Serialize for ControllerStatus
impl Serialize for ControllerStatus
impl Eq for ControllerStatus
impl MustNotBeSkipped for ControllerStatus
impl StructuralPartialEq for ControllerStatus
Auto Trait Implementations§
impl Freeze for ControllerStatus
impl RefUnwindSafe for ControllerStatus
impl Send for ControllerStatus
impl Sync for ControllerStatus
impl Unpin for ControllerStatus
impl UnwindSafe for ControllerStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> MayBeSkipped for Twhere
T: MustNotBeSkipped,
impl<T> MayBeSkipped for Twhere
T: MustNotBeSkipped,
Source§fn may_be_skipped(&self) -> bool
fn may_be_skipped(&self) -> bool
Tell whether the content may be skipped.