Struct atom_syndication::PersonBuilder
[−]
[src]
pub struct PersonBuilder { /* fields omitted */ }
Builder for Person
.
Methods
impl PersonBuilder
[src]
fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
A human-readable name for the person.
fn email<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
An email address for the person.
fn uri<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
[src]
A Web page for the person.
fn build(&self) -> Result<Person, String>
[src]
Trait Implementations
impl Default for PersonBuilder
[src]
fn default() -> PersonBuilder
[src]
Returns the "default value" for a type. Read more
impl Clone for PersonBuilder
[src]
fn clone(&self) -> PersonBuilder
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more