pub struct DateTimeIdCursor {
pub value: DateTime<Utc>,
pub id: i64,
}Expand description
Timestamp plus numeric id cursor for resources sorted by time and then id.
Fields§
§value: DateTime<Utc>Cursor timestamp.
id: i64Cursor numeric id used as a stable tie breaker.
Trait Implementations§
Source§impl Clone for DateTimeIdCursor
impl Clone for DateTimeIdCursor
Source§fn clone(&self) -> DateTimeIdCursor
fn clone(&self) -> DateTimeIdCursor
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 DateTimeIdCursor
impl ComposeSchema for DateTimeIdCursor
Source§impl Debug for DateTimeIdCursor
impl Debug for DateTimeIdCursor
Source§impl Serialize for DateTimeIdCursor
impl Serialize for DateTimeIdCursor
Auto Trait Implementations§
impl Freeze for DateTimeIdCursor
impl RefUnwindSafe for DateTimeIdCursor
impl Send for DateTimeIdCursor
impl Sync for DateTimeIdCursor
impl Unpin for DateTimeIdCursor
impl UnsafeUnpin for DateTimeIdCursor
impl UnwindSafe for DateTimeIdCursor
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