pub struct IcIcrcHolderListQuery {
pub after: Option<String>,
pub before: Option<String>,
pub limit: u16,
pub sort_by: IcIcrcHolderSort,
}Expand description
IcIcrcHolderListQuery
One explicitly bounded holder-index page query.
Fields§
§after: Option<String>Opaque exclusive forward cursor returned by an earlier page.
before: Option<String>Opaque exclusive backward cursor returned by an earlier page.
limit: u16Maximum rows requested from the official API.
sort_by: IcIcrcHolderSortStable upstream sort order applied to the page.
Implementations§
Source§impl IcIcrcHolderListQuery
impl IcIcrcHolderListQuery
Sourcepub const fn new(limit: u16, sort_by: IcIcrcHolderSort) -> Self
pub const fn new(limit: u16, sort_by: IcIcrcHolderSort) -> Self
Construct one holder-index page query.
Sourcepub fn with_after(self, after: impl Into<String>) -> Self
pub fn with_after(self, after: impl Into<String>) -> Self
Continue after one opaque cursor.
Sourcepub fn with_before(self, before: impl Into<String>) -> Self
pub fn with_before(self, before: impl Into<String>) -> Self
Continue before one opaque cursor.
Trait Implementations§
Source§impl Clone for IcIcrcHolderListQuery
impl Clone for IcIcrcHolderListQuery
Source§fn clone(&self) -> IcIcrcHolderListQuery
fn clone(&self) -> IcIcrcHolderListQuery
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 Debug for IcIcrcHolderListQuery
impl Debug for IcIcrcHolderListQuery
impl Eq for IcIcrcHolderListQuery
Source§impl PartialEq for IcIcrcHolderListQuery
impl PartialEq for IcIcrcHolderListQuery
Source§impl Serialize for IcIcrcHolderListQuery
impl Serialize for IcIcrcHolderListQuery
impl StructuralPartialEq for IcIcrcHolderListQuery
Auto Trait Implementations§
impl Freeze for IcIcrcHolderListQuery
impl RefUnwindSafe for IcIcrcHolderListQuery
impl Send for IcIcrcHolderListQuery
impl Sync for IcIcrcHolderListQuery
impl Unpin for IcIcrcHolderListQuery
impl UnsafeUnpin for IcIcrcHolderListQuery
impl UnwindSafe for IcIcrcHolderListQuery
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