pub enum NotificationsFilter {
Unread,
All,
}Expand description
History-list filter selector.
Variants§
Unread
Only entries this user has NOT acked. Default — the Client App’s notification panel opens to this view.
All
Everything in the user’s history window, acked or not.
Trait Implementations§
Source§impl Clone for NotificationsFilter
impl Clone for NotificationsFilter
Source§fn clone(&self) -> NotificationsFilter
fn clone(&self) -> NotificationsFilter
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 NotificationsFilter
impl Debug for NotificationsFilter
Source§impl Default for NotificationsFilter
impl Default for NotificationsFilter
Source§fn default() -> NotificationsFilter
fn default() -> NotificationsFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationsFilter
impl<'de> Deserialize<'de> for NotificationsFilter
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 JsonSchema for NotificationsFilter
impl JsonSchema for NotificationsFilter
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for NotificationsFilter
impl PartialEq for NotificationsFilter
Source§fn eq(&self, other: &NotificationsFilter) -> bool
fn eq(&self, other: &NotificationsFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NotificationsFilter
impl Serialize for NotificationsFilter
impl Copy for NotificationsFilter
impl Eq for NotificationsFilter
impl StructuralPartialEq for NotificationsFilter
Auto Trait Implementations§
impl Freeze for NotificationsFilter
impl RefUnwindSafe for NotificationsFilter
impl Send for NotificationsFilter
impl Sync for NotificationsFilter
impl Unpin for NotificationsFilter
impl UnsafeUnpin for NotificationsFilter
impl UnwindSafe for NotificationsFilter
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