pub struct ReadStateEntry {
pub id: String,
pub read_state_type: Option<u8>,
pub last_acked_id: Option<String>,
pub badge_count: Option<u64>,
pub mention_count: Option<u64>,
pub last_message_id: Option<String>,
pub last_viewed: Option<u64>,
pub last_pin_timestamp: Option<String>,
pub flags: Option<u64>,
}Fields§
§id: String§read_state_type: Option<u8>§last_acked_id: Option<String>§badge_count: Option<u64>§mention_count: Option<u64>§last_message_id: Option<String>§last_viewed: Option<u64>§last_pin_timestamp: Option<String>§flags: Option<u64>Trait Implementations§
Source§impl Clone for ReadStateEntry
impl Clone for ReadStateEntry
Source§fn clone(&self) -> ReadStateEntry
fn clone(&self) -> ReadStateEntry
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 ReadStateEntry
impl Debug for ReadStateEntry
Source§impl<'de> Deserialize<'de> for ReadStateEntry
impl<'de> Deserialize<'de> for ReadStateEntry
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 ReadStateEntry
impl RefUnwindSafe for ReadStateEntry
impl Send for ReadStateEntry
impl Sync for ReadStateEntry
impl Unpin for ReadStateEntry
impl UnsafeUnpin for ReadStateEntry
impl UnwindSafe for ReadStateEntry
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