pub struct SessionIsReadChangedAction {
pub is_read: bool,
}Expand description
The read state of the session changed.
Dispatched by a client to mark a session as read (e.g. after viewing it) or unread (e.g. after new activity since the client last looked at it).
Fields§
§is_read: boolWhether the session has been read
Trait Implementations§
Source§impl Clone for SessionIsReadChangedAction
impl Clone for SessionIsReadChangedAction
Source§fn clone(&self) -> SessionIsReadChangedAction
fn clone(&self) -> SessionIsReadChangedAction
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 SessionIsReadChangedAction
impl Debug for SessionIsReadChangedAction
Source§impl<'de> Deserialize<'de> for SessionIsReadChangedAction
impl<'de> Deserialize<'de> for SessionIsReadChangedAction
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 SessionIsReadChangedAction
impl PartialEq for SessionIsReadChangedAction
Source§fn eq(&self, other: &SessionIsReadChangedAction) -> bool
fn eq(&self, other: &SessionIsReadChangedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionIsReadChangedAction
Auto Trait Implementations§
impl Freeze for SessionIsReadChangedAction
impl RefUnwindSafe for SessionIsReadChangedAction
impl Send for SessionIsReadChangedAction
impl Sync for SessionIsReadChangedAction
impl Unpin for SessionIsReadChangedAction
impl UnsafeUnpin for SessionIsReadChangedAction
impl UnwindSafe for SessionIsReadChangedAction
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