pub struct Name {
pub family: Option<String>,
pub given: Option<String>,
pub suffix: Option<String>,
pub dropping_particle: Option<String>,
pub non_dropping_particle: Option<String>,
pub literal: Option<String>,
}Expand description
A personal or institutional name (specification “Name” name-parts).
Personal names use the part fields; an institution, or any name kept whole,
goes in literal.
Fields§
§family: Option<String>§given: Option<String>§suffix: Option<String>§dropping_particle: Option<String>§non_dropping_particle: Option<String>§literal: Option<String>Implementations§
Trait Implementations§
Source§impl Ord for Name
impl Ord for Name
Source§impl PartialOrd for Name
impl PartialOrd for Name
impl Eq for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl Freeze for Name
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnsafeUnpin for Name
impl UnwindSafe for Name
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