Struct spaceapi::State [] [src]

pub struct State {
    pub open: Option<bool>,
    pub lastchange: Optional<u64>,
    pub trigger_person: Optional<String>,
    pub message: Optional<String>,
    pub icon: Optional<Icon>,
}

Fields

open: Option<bool> lastchange: Optional<u64> trigger_person: Optional<String> message: Optional<String> icon: Optional<Icon>

Trait Implementations

impl Decodable for State
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<State, __D::Error>

impl PartialEq for State
[src]

fn eq(&self, __arg_0: &State) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &State) -> bool

This method tests for !=.

impl Clone for State
[src]

fn clone(&self) -> State

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for State
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl ToJson for State
[src]

fn to_json(&self) -> Json

Converts the value of self to an instance of JSON