pub struct NotifyReadListQuery {
pub last_read_at: Option<OffsetDateTime>,
pub all: Option<String>,
pub status_types: Option<Vec<String>>,
pub to_status: Option<String>,
}Fields§
§last_read_at: Option<OffsetDateTime>Describes the last point that notifications were checked. Anything updated since this time will not be updated.
all: Option<String>If true, mark all notifications on this repo. Default value is false
status_types: Option<Vec<String>>Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread.
to_status: Option<String>Status to mark notifications as, Defaults to read.
Trait Implementations§
Source§impl Clone for NotifyReadListQuery
impl Clone for NotifyReadListQuery
Source§fn clone(&self) -> NotifyReadListQuery
fn clone(&self) -> NotifyReadListQuery
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 NotifyReadListQuery
impl Debug for NotifyReadListQuery
Source§impl Default for NotifyReadListQuery
impl Default for NotifyReadListQuery
Source§fn default() -> NotifyReadListQuery
fn default() -> NotifyReadListQuery
Returns the “default value” for a type. Read more
Source§impl Display for NotifyReadListQuery
impl Display for NotifyReadListQuery
Source§impl PartialEq for NotifyReadListQuery
impl PartialEq for NotifyReadListQuery
impl StructuralPartialEq for NotifyReadListQuery
Auto Trait Implementations§
impl Freeze for NotifyReadListQuery
impl RefUnwindSafe for NotifyReadListQuery
impl Send for NotifyReadListQuery
impl Sync for NotifyReadListQuery
impl Unpin for NotifyReadListQuery
impl UnwindSafe for NotifyReadListQuery
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.