[][src]Enum mai400_service::PowerState

pub enum PowerState {
    On,
    Off,
    Reset,
}

Input field for 'controlPower' mutation and response field for 'power' query

Variants

System is on

System is off or unavailable

System will be reset

Trait Implementations

impl PartialEq<PowerState> for PowerState
[src]

This method tests for !=.

impl Clone for PowerState
[src]

Performs copy-assignment from source. Read more

impl Eq for PowerState
[src]

impl Debug for PowerState
[src]

impl<__S: ScalarValue> ToInputValue<__S> for PowerState
[src]

impl<__S: ScalarValue> FromInputValue<__S> for PowerState
[src]

impl<__S> GraphQLType<__S> for PowerState where
    __S: ScalarValue,
    &'__b __S: ScalarRefValue<'__b>, 
[src]

The expected context type for this GraphQL type Read more

Type that may carry additional schema information Read more

Resolve the value of a single field on this type. Read more

Resolve this interface or union into a concrete type Read more

Return the concrete type name for this instance/union. Read more

Auto Trait Implementations

impl Send for PowerState

impl Sync for PowerState

Blanket Implementations

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

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

impl<T> From for T
[src]

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

🔬 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> Any for T where
    T: 'static + ?Sized
[src]

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

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

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T

impl<T> Same for T

Should always be Self