pub struct DisplayProfile {
pub did: Option<Did>,
pub handle: Option<Handle>,
pub display_name: Option<String>,
pub avatar_uri: Option<String>,
pub avatar_url: Option<String>,
pub profile_uri: Option<String>,
pub subject_type: Option<String>,
pub cache_hit: bool,
pub warnings: Vec<String>,
}Fields§
§did: Option<Did>§handle: Option<Handle>§display_name: Option<String>§avatar_uri: Option<String>§avatar_url: Option<String>§profile_uri: Option<String>§subject_type: Option<String>§cache_hit: bool§warnings: Vec<String>Trait Implementations§
Source§impl Clone for DisplayProfile
impl Clone for DisplayProfile
Source§fn clone(&self) -> DisplayProfile
fn clone(&self) -> DisplayProfile
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 DisplayProfile
impl Debug for DisplayProfile
Source§impl<'de> Deserialize<'de> for DisplayProfile
impl<'de> Deserialize<'de> for DisplayProfile
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
impl Eq for DisplayProfile
Source§impl PartialEq for DisplayProfile
impl PartialEq for DisplayProfile
Source§fn eq(&self, other: &DisplayProfile) -> bool
fn eq(&self, other: &DisplayProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DisplayProfile
impl Serialize for DisplayProfile
impl StructuralPartialEq for DisplayProfile
Auto Trait Implementations§
impl Freeze for DisplayProfile
impl RefUnwindSafe for DisplayProfile
impl Send for DisplayProfile
impl Sync for DisplayProfile
impl Unpin for DisplayProfile
impl UnsafeUnpin for DisplayProfile
impl UnwindSafe for DisplayProfile
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.