Struct gazetta_model_ext::Person [] [src]

pub struct Person {
    pub name: String,
    pub email: Option<String>,
    pub photo: Option<String>,
    pub key: Option<Key>,
    pub nicknames: Vec<String>,
    pub also: Vec<Link>,
}

Fields

name: String email: Option<String> photo: Option<String> key: Option<Key> nicknames: Vec<String> also: Vec<Link>

Methods

impl Person
[src]

fn from_yaml(person: Yaml) -> Result<Self, &'static str>

Trait Implementations

impl Clone for Person
[src]

fn clone(&self) -> Person

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

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

Formats the value using the given formatter.

impl Display for Person
[src]

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

Formats the value using the given formatter.