pub struct IcIcrcAccountListQuery {
pub owner: Option<String>,
pub after: Option<String>,
pub before: Option<String>,
pub limit: u16,
pub sort_by: IcIcrcAccountSort,
}Expand description
IcIcrcAccountListQuery
One explicitly bounded account-index page query.
Fields§
§owner: Option<String>Optional canonical owner principal filter.
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: IcIcrcAccountSortStable upstream sort order applied to the page.
Implementations§
Source§impl IcIcrcAccountListQuery
impl IcIcrcAccountListQuery
Sourcepub const fn new(limit: u16, sort_by: IcIcrcAccountSort) -> Self
pub const fn new(limit: u16, sort_by: IcIcrcAccountSort) -> Self
Construct one account-index page query.
Sourcepub fn with_owner(self, owner: impl Into<String>) -> Self
pub fn with_owner(self, owner: impl Into<String>) -> Self
Restrict the page to one owner principal.
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 IcIcrcAccountListQuery
impl Clone for IcIcrcAccountListQuery
Source§fn clone(&self) -> IcIcrcAccountListQuery
fn clone(&self) -> IcIcrcAccountListQuery
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 IcIcrcAccountListQuery
impl Debug for IcIcrcAccountListQuery
impl Eq for IcIcrcAccountListQuery
Source§impl PartialEq for IcIcrcAccountListQuery
impl PartialEq for IcIcrcAccountListQuery
Source§impl Serialize for IcIcrcAccountListQuery
impl Serialize for IcIcrcAccountListQuery
impl StructuralPartialEq for IcIcrcAccountListQuery
Auto Trait Implementations§
impl Freeze for IcIcrcAccountListQuery
impl RefUnwindSafe for IcIcrcAccountListQuery
impl Send for IcIcrcAccountListQuery
impl Sync for IcIcrcAccountListQuery
impl Unpin for IcIcrcAccountListQuery
impl UnsafeUnpin for IcIcrcAccountListQuery
impl UnwindSafe for IcIcrcAccountListQuery
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