pub struct NotifyGetListQuery {
pub all: Option<bool>,
pub status_types: Option<Vec<String>>,
pub subject_type: Option<Vec<NotifyGetListQuerySubjectType>>,
pub since: Option<OffsetDateTime>,
pub before: Option<OffsetDateTime>,
pub page: Option<u32>,
pub limit: Option<u32>,
}Fields§
§all: Option<bool>If true, show notifications marked as read. Default value is false
status_types: Option<Vec<String>>Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned.
subject_type: Option<Vec<NotifyGetListQuerySubjectType>>filter notifications by subject type
since: Option<OffsetDateTime>Only show notifications updated after the given time. This is a timestamp in RFC 3339 format
before: Option<OffsetDateTime>Only show notifications updated before the given time. This is a timestamp in RFC 3339 format
page: Option<u32>page number of results to return (1-based)
limit: Option<u32>page size of results
Trait Implementations§
Source§impl Clone for NotifyGetListQuery
impl Clone for NotifyGetListQuery
Source§fn clone(&self) -> NotifyGetListQuery
fn clone(&self) -> NotifyGetListQuery
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 NotifyGetListQuery
impl Debug for NotifyGetListQuery
Source§impl Default for NotifyGetListQuery
impl Default for NotifyGetListQuery
Source§fn default() -> NotifyGetListQuery
fn default() -> NotifyGetListQuery
Returns the “default value” for a type. Read more
Source§impl Display for NotifyGetListQuery
impl Display for NotifyGetListQuery
Source§impl PartialEq for NotifyGetListQuery
impl PartialEq for NotifyGetListQuery
impl StructuralPartialEq for NotifyGetListQuery
Auto Trait Implementations§
impl Freeze for NotifyGetListQuery
impl RefUnwindSafe for NotifyGetListQuery
impl Send for NotifyGetListQuery
impl Sync for NotifyGetListQuery
impl Unpin for NotifyGetListQuery
impl UnwindSafe for NotifyGetListQuery
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.