pub struct CreatedAtCursorQuery {
pub after_created_at: Option<DateTime<Utc>>,
pub after_id: Option<i64>,
}Expand description
Cursor query for resources ordered by creation time and numeric id.
Fields§
§after_created_at: Option<DateTime<Utc>>Cursor creation timestamp.
after_id: Option<i64>Cursor numeric id used as a stable tie breaker.
Trait Implementations§
Source§impl Clone for CreatedAtCursorQuery
impl Clone for CreatedAtCursorQuery
Source§fn clone(&self) -> CreatedAtCursorQuery
fn clone(&self) -> CreatedAtCursorQuery
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 ComposeSchema for CreatedAtCursorQuery
impl ComposeSchema for CreatedAtCursorQuery
Source§impl Debug for CreatedAtCursorQuery
impl Debug for CreatedAtCursorQuery
Source§impl Default for CreatedAtCursorQuery
impl Default for CreatedAtCursorQuery
Source§fn default() -> CreatedAtCursorQuery
fn default() -> CreatedAtCursorQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatedAtCursorQuery
impl<'de> Deserialize<'de> for CreatedAtCursorQuery
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 IntoParams for CreatedAtCursorQuery
impl IntoParams for CreatedAtCursorQuery
Source§impl ToSchema for CreatedAtCursorQuery
impl ToSchema for CreatedAtCursorQuery
impl Copy for CreatedAtCursorQuery
Auto Trait Implementations§
impl Freeze for CreatedAtCursorQuery
impl RefUnwindSafe for CreatedAtCursorQuery
impl Send for CreatedAtCursorQuery
impl Sync for CreatedAtCursorQuery
impl Unpin for CreatedAtCursorQuery
impl UnsafeUnpin for CreatedAtCursorQuery
impl UnwindSafe for CreatedAtCursorQuery
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