Struct spaceapi::Contact [] [src]

pub struct Contact {
    pub phone: Optional<String>,
    pub sip: Optional<String>,
    pub keymasters: Optional<Vec<Keymaster>>,
    pub irc: Optional<String>,
    pub twitter: Optional<String>,
    pub facebook: Optional<String>,
    pub google: Optional<GoogleContact>,
    pub identica: Optional<String>,
    pub foursquare: Optional<String>,
    pub email: Optional<String>,
    pub ml: Optional<String>,
    pub jabber: Optional<String>,
    pub issue_mail: Optional<String>,
}

Fields

phone: Optional<String> sip: Optional<String> keymasters: Optional<Vec<Keymaster>> irc: Optional<String> twitter: Optional<String> facebook: Optional<String> google: Optional<GoogleContact> identica: Optional<String> foursquare: Optional<String> email: Optional<String> ml: Optional<String> jabber: Optional<String> issue_mail: Optional<String>

Trait Implementations

impl Decodable for Contact
[src]

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

impl PartialEq for Contact
[src]

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

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

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

This method tests for !=.

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