pub struct Conversation {Show 22 fields
pub id: String,
pub name: Option<String>,
pub created: Option<String>,
pub last_action: Option<String>,
pub last_activity: Option<String>,
pub encrypted: bool,
pub unique_identifier: Value,
pub unread_messages: u32,
pub key: Option<String>,
pub key_requested: Value,
pub key_signature: Value,
pub key_sender: Value,
pub signature_expiry: Value,
pub archive: Value,
pub favorite: bool,
pub deleted: Option<String>,
pub muted: Value,
pub user_count: u8,
pub members: Vec<DetailedPersonInfo>,
pub num_members_without_keys: u8,
pub members_without_keys: Vec<Value>,
pub callable: Vec<DetailedPersonInfo>,
}Fields§
§id: String§name: Option<String>§created: Option<String>§last_action: Option<String>§last_activity: Option<String>§encrypted: bool§unique_identifier: Value§unread_messages: u32§key: Option<String>§key_requested: Value§key_signature: Value§key_sender: Value§signature_expiry: Value§archive: Value§favorite: bool§deleted: Option<String>§muted: Value§user_count: u8§members: Vec<DetailedPersonInfo>§num_members_without_keys: u8§members_without_keys: Vec<Value>§callable: Vec<DetailedPersonInfo>Trait Implementations§
Source§impl Clone for Conversation
impl Clone for Conversation
Source§fn clone(&self) -> Conversation
fn clone(&self) -> Conversation
Returns a copy 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 Conversation
impl Debug for Conversation
Source§impl<'de> Deserialize<'de> for Conversation
impl<'de> Deserialize<'de> for Conversation
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
Auto Trait Implementations§
impl Freeze for Conversation
impl RefUnwindSafe for Conversation
impl Send for Conversation
impl Sync for Conversation
impl Unpin for Conversation
impl UnwindSafe for Conversation
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