pub struct GroupSnapshot {
pub id: Option<String>,
pub did: GroupRef,
pub name: Option<String>,
pub display_name: Option<String>,
pub description: Option<String>,
pub avatar_uri: Option<String>,
pub my_role: Option<String>,
pub membership_status: Option<String>,
pub member_count: Option<u32>,
pub last_message_at: Option<String>,
}Fields§
§id: Option<String>§did: GroupRef§name: Option<String>§display_name: Option<String>§description: Option<String>§avatar_uri: Option<String>§my_role: Option<String>§membership_status: Option<String>§member_count: Option<u32>§last_message_at: Option<String>Trait Implementations§
Source§impl Clone for GroupSnapshot
impl Clone for GroupSnapshot
Source§fn clone(&self) -> GroupSnapshot
fn clone(&self) -> GroupSnapshot
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 GroupSnapshot
impl Debug for GroupSnapshot
Source§impl<'de> Deserialize<'de> for GroupSnapshot
impl<'de> Deserialize<'de> for GroupSnapshot
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 GroupSnapshot
Source§impl PartialEq for GroupSnapshot
impl PartialEq for GroupSnapshot
Source§fn eq(&self, other: &GroupSnapshot) -> bool
fn eq(&self, other: &GroupSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GroupSnapshot
impl Serialize for GroupSnapshot
impl StructuralPartialEq for GroupSnapshot
Auto Trait Implementations§
impl Freeze for GroupSnapshot
impl RefUnwindSafe for GroupSnapshot
impl Send for GroupSnapshot
impl Sync for GroupSnapshot
impl Unpin for GroupSnapshot
impl UnsafeUnpin for GroupSnapshot
impl UnwindSafe for GroupSnapshot
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.