pub struct ListQuery {
pub limit: u32,
pub cursor: Option<Cursor>,
pub since: Option<OffsetDateTime>,
pub until: Option<OffsetDateTime>,
}Expand description
What a list asks for: at most limit vCons, after cursor, first
stored at or after since and before until.
Fields§
§limit: u32§cursor: Option<Cursor>§since: Option<OffsetDateTime>§until: Option<OffsetDateTime>Implementations§
Source§impl ListQuery
impl ListQuery
pub const DEFAULT_LIMIT: u32 = 100
pub const MAX_LIMIT: u32 = 1000
Trait Implementations§
impl Copy for ListQuery
impl Eq for ListQuery
impl StructuralPartialEq for ListQuery
Auto Trait Implementations§
impl Freeze for ListQuery
impl RefUnwindSafe for ListQuery
impl Send for ListQuery
impl Sync for ListQuery
impl Unpin for ListQuery
impl UnsafeUnpin for ListQuery
impl UnwindSafe for ListQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.