pub struct LocalName(/* private fields */);Expand description
A polyproto “Local Name”(1)(2)
is the instance-unique actor handle before the @ in a
FederationId.
§Example
In a FederationId of xenia@example.com, the local name would be xenia.
Implementations§
Trait Implementations§
impl Eq for LocalName
Source§impl Ord for LocalName
impl Ord for LocalName
1.21.0 (const: unstable) · 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 PartialOrd for LocalName
impl PartialOrd for LocalName
impl StructuralPartialEq for LocalName
Source§impl TryFrom<AttributeTypeAndValue> for LocalName
impl TryFrom<AttributeTypeAndValue> for LocalName
Source§type Error = InvalidInput
type Error = InvalidInput
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for LocalName
impl RefUnwindSafe for LocalName
impl Send for LocalName
impl Sync for LocalName
impl Unpin for LocalName
impl UnsafeUnpin for LocalName
impl UnwindSafe for LocalName
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