Struct spaceapi::Contact [] [src]

pub struct Contact {
    pub irc: Optional<String>,
    pub twitter: Optional<String>,
    pub foursquare: Optional<String>,
    pub email: Optional<String>,
}

Fields

irc: Optional<String> twitter: Optional<String> foursquare: Optional<String> email: Optional<String>

Trait Implementations

impl Clone for Contact
[src]

fn clone(&self) -> Contact

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

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

Formats the value using the given formatter.

impl ToJson for Contact
[src]

fn to_json(&self) -> Json

Converts the value of self to an instance of JSON