pub struct ProfileExtras {
pub nickname: Box<str>,
pub lud06: Box<str>,
pub lud16: Box<str>,
pub nip05: Box<str>,
pub website: Box<str>,
pub status_title: Box<str>,
pub status_purpose: Box<str>,
pub status_url: Box<str>,
}Expand description
The cold tail of Profile. Present only when at least one field is set.
Fields§
§nickname: Box<str>§lud06: Box<str>§lud16: Box<str>§nip05: Box<str>§website: Box<str>§status_title: Box<str>§status_purpose: Box<str>§status_url: Box<str>Trait Implementations§
Source§impl Clone for ProfileExtras
impl Clone for ProfileExtras
Source§fn clone(&self) -> ProfileExtras
fn clone(&self) -> ProfileExtras
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProfileExtras
impl Debug for ProfileExtras
Source§impl Default for ProfileExtras
impl Default for ProfileExtras
Source§fn default() -> ProfileExtras
fn default() -> ProfileExtras
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProfileExtras
impl PartialEq for ProfileExtras
impl StructuralPartialEq for ProfileExtras
Auto Trait Implementations§
impl Freeze for ProfileExtras
impl RefUnwindSafe for ProfileExtras
impl Send for ProfileExtras
impl Sync for ProfileExtras
impl Unpin for ProfileExtras
impl UnsafeUnpin for ProfileExtras
impl UnwindSafe for ProfileExtras
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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