pub struct StructuredName {
pub given: MultilingualString,
pub family: MultilingualString,
pub suffix: Option<String>,
pub dropping_particle: Option<String>,
pub non_dropping_particle: Option<String>,
}Expand description
A structured name is a name broken down into its constituent parts.
Fields§
§given: MultilingualString§family: MultilingualString§suffix: Option<String>§dropping_particle: Option<String>§non_dropping_particle: Option<String>Trait Implementations§
Source§impl Clone for StructuredName
impl Clone for StructuredName
Source§fn clone(&self) -> StructuredName
fn clone(&self) -> StructuredName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructuredName
impl Debug for StructuredName
Source§impl Default for StructuredName
impl Default for StructuredName
Source§fn default() -> StructuredName
fn default() -> StructuredName
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StructuredName
impl<'de> Deserialize<'de> for StructuredName
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 StructuredName
impl PartialEq for StructuredName
Source§fn eq(&self, other: &StructuredName) -> bool
fn eq(&self, other: &StructuredName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StructuredName
impl Serialize for StructuredName
impl StructuralPartialEq for StructuredName
Auto Trait Implementations§
impl Freeze for StructuredName
impl RefUnwindSafe for StructuredName
impl Send for StructuredName
impl Sync for StructuredName
impl Unpin for StructuredName
impl UnsafeUnpin for StructuredName
impl UnwindSafe for StructuredName
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