pub struct Properties {
pub read_receipts_enabled: bool,
pub last_message_guid: Option<String>,
pub forced_sms: bool,
pub group_photo_guid: Option<String>,
pub has_chat_background: bool,
}Expand description
Chat properties are stored as a plist in the database
This represents the metadata for a chatroom
Fields§
§read_receipts_enabled: boolWhether the chat has read receipts enabled
last_message_guid: Option<String>The most recent message in the chat
forced_sms: boolWhether the chat was forced to use SMS/RCS instead of iMessage
group_photo_guid: Option<String>GUID of the group photo, if it exists in the attachments table
has_chat_background: boolWhether the chat has a custom background image
Trait Implementations§
Source§impl Debug for Properties
impl Debug for Properties
Source§impl PartialEq for Properties
impl PartialEq for Properties
impl Eq for Properties
impl StructuralPartialEq for Properties
Auto Trait Implementations§
impl Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnsafeUnpin for Properties
impl UnwindSafe for Properties
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<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.