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