pub enum PersonNamesFormattingAttributes {
GivenFirst,
SurnameFirst,
Sorting,
Short,
Medium,
Long,
Addressing,
Referring,
Monogram,
Formal,
Informal,
}
Expand description
Person Name Attributes. {order=givenFirst, length=long, usage=referring, formality=formal}
Variants§
Implementations§
Trait Implementations§
source§impl From<FormattingFormality> for PersonNamesFormattingAttributes
impl From<FormattingFormality> for PersonNamesFormattingAttributes
source§fn from(value: FormattingFormality) -> PersonNamesFormattingAttributes
fn from(value: FormattingFormality) -> PersonNamesFormattingAttributes
Converts to this type from the input type.
source§impl From<FormattingLength> for PersonNamesFormattingAttributes
impl From<FormattingLength> for PersonNamesFormattingAttributes
source§fn from(value: FormattingLength) -> PersonNamesFormattingAttributes
fn from(value: FormattingLength) -> PersonNamesFormattingAttributes
Converts to this type from the input type.
source§impl From<FormattingOrder> for PersonNamesFormattingAttributes
impl From<FormattingOrder> for PersonNamesFormattingAttributes
source§fn from(value: FormattingOrder) -> PersonNamesFormattingAttributes
fn from(value: FormattingOrder) -> PersonNamesFormattingAttributes
Converts to this type from the input type.
source§impl From<FormattingUsage> for PersonNamesFormattingAttributes
impl From<FormattingUsage> for PersonNamesFormattingAttributes
source§fn from(value: FormattingUsage) -> PersonNamesFormattingAttributes
fn from(value: FormattingUsage) -> PersonNamesFormattingAttributes
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PersonNamesFormattingAttributes
impl RefUnwindSafe for PersonNamesFormattingAttributes
impl Send for PersonNamesFormattingAttributes
impl Sync for PersonNamesFormattingAttributes
impl Unpin for PersonNamesFormattingAttributes
impl UnwindSafe for PersonNamesFormattingAttributes
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more