pub struct ContractBalancesConnectionArgs {
pub after: Option<String>,
pub before: Option<String>,
pub first: Option<i32>,
pub last: Option<i32>,
/* private fields */
}
Fields§
§after: Option<String>
Skip until asset id (forward pagination)
before: Option<String>
Skip until asset id (backward pagination)
first: Option<i32>
Retrieve the first n asset balances in order (forward pagination)
last: Option<i32>
Retrieve the last n asset balances in order (backward pagination).
Can’t be used at the same time as first
.
Trait Implementations§
Source§impl From<(ContractId, PaginationRequest<String>)> for ContractBalancesConnectionArgs
impl From<(ContractId, PaginationRequest<String>)> for ContractBalancesConnectionArgs
Source§fn from(r: (ContractId, PaginationRequest<String>)) -> Self
fn from(r: (ContractId, PaginationRequest<String>)) -> Self
Converts to this type from the input type.
Source§impl QueryVariables for ContractBalancesConnectionArgs
impl QueryVariables for ContractBalancesConnectionArgs
Source§const VARIABLES: &'static [(&'static str, VariableType)]
const VARIABLES: &'static [(&'static str, VariableType)]
An associated constant that contains the variable names & their types. Read more
Source§type Fields = ContractBalancesConnectionArgsFields
type Fields = ContractBalancesConnectionArgsFields
A struct that determines which variables are available when using this struct.
impl VariableMatch<ContractBalancesConnectionArgs> for ContractBalancesConnectionArgs
Auto Trait Implementations§
impl Freeze for ContractBalancesConnectionArgs
impl RefUnwindSafe for ContractBalancesConnectionArgs
impl Send for ContractBalancesConnectionArgs
impl Sync for ContractBalancesConnectionArgs
impl Unpin for ContractBalancesConnectionArgs
impl UnwindSafe for ContractBalancesConnectionArgs
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more