[][src]Struct xio_webapi::ControllerStatus

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>,
}

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.

Methods

impl ControllerStatus[src]

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

Create a new controller.

Trait Implementations

impl MustNotBeSkipped for ControllerStatus[src]

impl Eq for ControllerStatus[src]

impl Default for ControllerStatus[src]

impl Clone for ControllerStatus[src]

impl PartialEq<ControllerStatus> 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> PathLoad for T where
    T: DeserializeOwned