pub struct MatrixProfile {
pub user_id: String,
pub displayname: Option<String>,
pub avatar_url: Option<String>,
}Fields§
§user_id: String§displayname: Option<String>§avatar_url: Option<String>Implementations§
Source§impl MatrixProfile
impl MatrixProfile
pub fn display_name(&self) -> &str
pub fn avatar_url_resolved(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for MatrixProfile
impl Clone for MatrixProfile
Source§fn clone(&self) -> MatrixProfile
fn clone(&self) -> MatrixProfile
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 MatrixProfile
impl Debug for MatrixProfile
Source§impl Default for MatrixProfile
impl Default for MatrixProfile
Source§fn default() -> MatrixProfile
fn default() -> MatrixProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MatrixProfile
impl<'de> Deserialize<'de> for MatrixProfile
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 PartialEq for MatrixProfile
impl PartialEq for MatrixProfile
Source§impl Serialize for MatrixProfile
impl Serialize for MatrixProfile
impl Eq for MatrixProfile
impl StructuralPartialEq for MatrixProfile
Auto Trait Implementations§
impl Freeze for MatrixProfile
impl RefUnwindSafe for MatrixProfile
impl Send for MatrixProfile
impl Sync for MatrixProfile
impl Unpin for MatrixProfile
impl UnsafeUnpin for MatrixProfile
impl UnwindSafe for MatrixProfile
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<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.