#[non_exhaustive]pub enum PaginationByTime {
Last {
count: i32,
undocumented: JsonObject,
},
Undocumented(JsonObject),
}Expand description
Syntax:
count=<count>Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for PaginationByTime
impl Clone for PaginationByTime
Source§fn clone(&self) -> PaginationByTime
fn clone(&self) -> PaginationByTime
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 CommandSyntax for PaginationByTime
impl CommandSyntax for PaginationByTime
const COMMAND_BUF_SIZE: usize = 32
fn append_command_syntax(&self, buf: &mut String)
Source§fn to_command_string(&self) -> String
fn to_command_string(&self) -> String
Generate a SimpleX command string from self
Source§impl Debug for PaginationByTime
impl Debug for PaginationByTime
Source§impl<'de> Deserialize<'de> for PaginationByTime
impl<'de> Deserialize<'de> for PaginationByTime
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 PaginationByTime
impl PartialEq for PaginationByTime
Source§fn eq(&self, other: &PaginationByTime) -> bool
fn eq(&self, other: &PaginationByTime) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PaginationByTime
impl Serialize for PaginationByTime
impl StructuralPartialEq for PaginationByTime
Auto Trait Implementations§
impl Freeze for PaginationByTime
impl RefUnwindSafe for PaginationByTime
impl Send for PaginationByTime
impl Sync for PaginationByTime
impl Unpin for PaginationByTime
impl UnsafeUnpin for PaginationByTime
impl UnwindSafe for PaginationByTime
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