pub struct Person {
pub name: Option<String>,
pub email: Option<String>,
pub link: Option<Link>,
}
Expand description
Person represents a person or organization.
Fields§
§name: Option<String>
Name of person or organization.
email: Option<String>
Email address.
link: Option<Link>
Link to Web site or other external information about person.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Person
impl<'de> Deserialize<'de> for Person
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Person
impl PartialEq for Person
impl StructuralPartialEq for Person
Auto Trait Implementations§
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnwindSafe for Person
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more