pub struct DisplayName(/* private fields */);Trait Implementations§
Source§impl AsRef<str> for DisplayName
impl AsRef<str> for DisplayName
Source§impl Clone for DisplayName
impl Clone for DisplayName
Source§fn clone(&self) -> DisplayName
fn clone(&self) -> DisplayName
Returns a duplicate of the value. Read more
1.0.0 · 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 DisplayName
impl Debug for DisplayName
Source§impl<'de> Deserialize<'de> for DisplayName
impl<'de> Deserialize<'de> for DisplayName
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 Display for DisplayName
impl Display for DisplayName
Source§impl From<DisplayName> for String
impl From<DisplayName> for String
Source§fn from(value: DisplayName) -> Self
fn from(value: DisplayName) -> Self
Converts to this type from the input type.
Source§impl FromStr for DisplayName
impl FromStr for DisplayName
Source§impl Hash for DisplayName
impl Hash for DisplayName
Source§impl Ord for DisplayName
impl Ord for DisplayName
Source§fn cmp(&self, other: &DisplayName) -> Ordering
fn cmp(&self, other: &DisplayName) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DisplayName
impl PartialEq for DisplayName
Source§impl PartialOrd for DisplayName
impl PartialOrd for DisplayName
Source§impl Serialize for DisplayName
impl Serialize for DisplayName
Source§impl StringLike for DisplayName
impl StringLike for DisplayName
impl Eq for DisplayName
impl StructuralPartialEq for DisplayName
Auto Trait Implementations§
impl Freeze for DisplayName
impl RefUnwindSafe for DisplayName
impl Send for DisplayName
impl Sync for DisplayName
impl Unpin for DisplayName
impl UnsafeUnpin for DisplayName
impl UnwindSafe for DisplayName
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