pub struct ActivityMarkNotificationsAsReadRequest {
pub last_read_at: Option<String>,
pub read: Option<bool>,
}
Fields§
§last_read_at: Option<String>
Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
. Default: The current timestamp.
read: Option<bool>
Whether the notification has been read.
Implementations§
Trait Implementations§
Source§impl Clone for ActivityMarkNotificationsAsReadRequest
impl Clone for ActivityMarkNotificationsAsReadRequest
Source§fn clone(&self) -> ActivityMarkNotificationsAsReadRequest
fn clone(&self) -> ActivityMarkNotificationsAsReadRequest
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 Default for ActivityMarkNotificationsAsReadRequest
impl Default for ActivityMarkNotificationsAsReadRequest
Source§fn default() -> ActivityMarkNotificationsAsReadRequest
fn default() -> ActivityMarkNotificationsAsReadRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityMarkNotificationsAsReadRequest
impl<'de> Deserialize<'de> for ActivityMarkNotificationsAsReadRequest
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 ActivityMarkNotificationsAsReadRequest
impl PartialEq for ActivityMarkNotificationsAsReadRequest
Source§fn eq(&self, other: &ActivityMarkNotificationsAsReadRequest) -> bool
fn eq(&self, other: &ActivityMarkNotificationsAsReadRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActivityMarkNotificationsAsReadRequest
Auto Trait Implementations§
impl Freeze for ActivityMarkNotificationsAsReadRequest
impl RefUnwindSafe for ActivityMarkNotificationsAsReadRequest
impl Send for ActivityMarkNotificationsAsReadRequest
impl Sync for ActivityMarkNotificationsAsReadRequest
impl Unpin for ActivityMarkNotificationsAsReadRequest
impl UnwindSafe for ActivityMarkNotificationsAsReadRequest
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