[][src]Struct xio_webapi::ControllerStatus

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]

pub fn new(
    uuid: Uuid,
    model: String,
    board_description: &HardwareBoardDescription
) -> Self
[src]

Create a new controller.

Trait Implementations

impl MustNotBeSkipped for ControllerStatus[src]

impl Eq for ControllerStatus[src]

impl Clone for ControllerStatus[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<ControllerStatus> for ControllerStatus[src]

impl Default for ControllerStatus[src]

impl Debug for ControllerStatus[src]

impl Serialize for ControllerStatus[src]

impl<'de> Deserialize<'de> for ControllerStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> PathLoad for T where
    T: DeserializeOwned

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]