Struct xio_webapi::ControllerStatus [−][src]
pub struct ControllerStatus { pub uuid: Uuid, pub model: 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: BTreeMap<String, ModuleState>, }
Description of the status of a controller.
Fields
uuid: Uuid
The unique uuid of the controller (serial number).
model: 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: BTreeMap<String, ModuleState>
The module states indexed by their identifier string.
Methods
impl ControllerStatus
[src]
impl ControllerStatus
pub fn new(
uuid: Uuid,
model: String,
board_description: &HardwareBoardDescription
) -> Self
[src]
pub fn new(
uuid: Uuid,
model: String,
board_description: &HardwareBoardDescription
) -> Self
Create a new controller.
Trait Implementations
impl Clone for ControllerStatus
[src]
impl Clone for ControllerStatus
fn clone(&self) -> ControllerStatus
[src]
fn clone(&self) -> ControllerStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ControllerStatus
[src]
impl Debug for ControllerStatus
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ControllerStatus
[src]
impl PartialEq for ControllerStatus
fn eq(&self, other: &ControllerStatus) -> bool
[src]
fn eq(&self, other: &ControllerStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ControllerStatus) -> bool
[src]
fn ne(&self, other: &ControllerStatus) -> bool
This method tests for !=
.
impl Eq for ControllerStatus
[src]
impl Eq for ControllerStatus
impl Default for ControllerStatus
[src]
impl Default for ControllerStatus
fn default() -> ControllerStatus
[src]
fn default() -> ControllerStatus
Returns the "default value" for a type. Read more
impl MustNotBeSkipped for ControllerStatus
[src]
impl MustNotBeSkipped for ControllerStatus
Auto Trait Implementations
impl Send for ControllerStatus
impl Send for ControllerStatus
impl Sync for ControllerStatus
impl Sync for ControllerStatus