pub struct PartialName(/* private fields */);
Expand description
A validated complete and fully qualified owned reference name, safe to use for all operations.
Implementations§
Trait Implementations§
Source§impl AsRef<PartialNameRef> for PartialName
impl AsRef<PartialNameRef> for PartialName
Source§fn as_ref(&self) -> &PartialNameRef
fn as_ref(&self) -> &PartialNameRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<PartialNameRef> for PartialName
impl Borrow<PartialNameRef> for PartialName
Source§fn borrow(&self) -> &PartialNameRef
fn borrow(&self) -> &PartialNameRef
Immutably borrows from an owned value. Read more
Source§impl Debug for PartialName
impl Debug for PartialName
Source§impl Hash for PartialName
impl Hash for PartialName
Source§impl Ord for PartialName
impl Ord for PartialName
Source§fn cmp(&self, other: &PartialName) -> Ordering
fn cmp(&self, other: &PartialName) -> 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 PartialName
impl PartialEq for PartialName
Source§impl PartialOrd for PartialName
impl PartialOrd for PartialName
Source§impl<'a> TryFrom<&'a PartialName> for &'a PartialNameRef
impl<'a> TryFrom<&'a PartialName> for &'a PartialNameRef
Source§impl<'a> TryFrom<&'a str> for PartialName
impl<'a> TryFrom<&'a str> for PartialName
Source§impl TryFrom<BString> for PartialName
impl TryFrom<BString> for PartialName
Source§impl TryFrom<String> for PartialName
impl TryFrom<String> for PartialName
impl Eq for PartialName
impl StructuralPartialEq for PartialName
Auto Trait Implementations§
impl Freeze for PartialName
impl RefUnwindSafe for PartialName
impl Send for PartialName
impl Sync for PartialName
impl Unpin for PartialName
impl UnwindSafe for PartialName
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