pub struct ActivityMarkRepoNotificationsAsReadRequest {
pub last_read_at: Option<String>,
}
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.
Implementations§
Trait Implementations§
Source§impl Clone for ActivityMarkRepoNotificationsAsReadRequest
impl Clone for ActivityMarkRepoNotificationsAsReadRequest
Source§fn clone(&self) -> ActivityMarkRepoNotificationsAsReadRequest
fn clone(&self) -> ActivityMarkRepoNotificationsAsReadRequest
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 ActivityMarkRepoNotificationsAsReadRequest
impl Default for ActivityMarkRepoNotificationsAsReadRequest
Source§fn default() -> ActivityMarkRepoNotificationsAsReadRequest
fn default() -> ActivityMarkRepoNotificationsAsReadRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityMarkRepoNotificationsAsReadRequest
impl<'de> Deserialize<'de> for ActivityMarkRepoNotificationsAsReadRequest
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 ActivityMarkRepoNotificationsAsReadRequest
impl PartialEq for ActivityMarkRepoNotificationsAsReadRequest
Source§fn eq(&self, other: &ActivityMarkRepoNotificationsAsReadRequest) -> bool
fn eq(&self, other: &ActivityMarkRepoNotificationsAsReadRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActivityMarkRepoNotificationsAsReadRequest
Auto Trait Implementations§
impl Freeze for ActivityMarkRepoNotificationsAsReadRequest
impl RefUnwindSafe for ActivityMarkRepoNotificationsAsReadRequest
impl Send for ActivityMarkRepoNotificationsAsReadRequest
impl Sync for ActivityMarkRepoNotificationsAsReadRequest
impl Unpin for ActivityMarkRepoNotificationsAsReadRequest
impl UnwindSafe for ActivityMarkRepoNotificationsAsReadRequest
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