pub struct Person {Show 24 fields
pub id: PersonId,
pub namespace: PersonNamespaceUrl,
pub body: Option<BodyId>,
pub name: Option<Name>,
pub family_name: Option<Name>,
pub given_name: Option<Name>,
pub form_of_address: Option<String>,
pub affix: Option<String>,
pub title: Vec<String>,
pub gender: Option<String>,
pub phone: Vec<String>,
pub email: Vec<EmailAddress>,
pub location: Option<LocationId>,
pub location_object: Option<Location>,
pub status: Vec<String>,
pub membership: Vec<Membership>,
pub life: Option<String>,
pub life_source: Option<String>,
pub license: Option<Url>,
pub keyword: Vec<Keyword>,
pub created: DateTime,
pub modified: DateTime,
pub web: Option<Url>,
pub deleted: Option<bool>,
}Fields§
§id: PersonId§namespace: PersonNamespaceUrl§body: Option<BodyId>§name: Option<Name>§family_name: Option<Name>§given_name: Option<Name>§form_of_address: Option<String>§affix: Option<String>§title: Vec<String>§gender: Option<String>§phone: Vec<String>§email: Vec<EmailAddress>§location: Option<LocationId>§location_object: Option<Location>§status: Vec<String>§membership: Vec<Membership>§life: Option<String>§life_source: Option<String>§license: Option<Url>§keyword: Vec<Keyword>§created: DateTime§modified: DateTime§web: Option<Url>§deleted: Option<bool>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
impl StructuralPartialEq for Person
Auto Trait Implementations§
impl Freeze for Person
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