Struct spaceapi::Icon [] [src]

pub struct Icon {
    pub open: String,
    pub close: String,
}

Fields

open: String close: String

Trait Implementations

impl Decodable for Icon
[src]

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

impl PartialEq for Icon
[src]

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

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

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

This method tests for !=.

impl Clone for Icon
[src]

fn clone(&self) -> Icon

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 Icon
[src]

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

Formats the value using the given formatter.

impl ToJson for Icon
[src]

fn to_json(&self) -> Json

Converts the value of self to an instance of JSON