pub struct SpendQueryElementInput {
pub asset_id: AssetId,
pub amount: U64,
pub max: Option<U64>,
}
Fields§
§asset_id: AssetId
asset ID of the coins
amount: U64
address of the owner
max: Option<U64>
the maximum number of resources per asset from the owner to return.
Trait Implementations§
Source§impl Clone for SpendQueryElementInput
impl Clone for SpendQueryElementInput
Source§fn clone(&self) -> SpendQueryElementInput
fn clone(&self) -> SpendQueryElementInput
Returns a copy of the value. Read more
1.0.0 · 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 SpendQueryElementInput
impl Debug for SpendQueryElementInput
Source§impl InputObject for SpendQueryElementInput
impl InputObject for SpendQueryElementInput
Source§type SchemaType = SpendQueryElementInput
type SchemaType = SpendQueryElementInput
The input object in the schema that this type represents.
Source§impl Serialize for SpendQueryElementInput
impl Serialize for SpendQueryElementInput
Source§impl Variable for SpendQueryElementInput
impl Variable for SpendQueryElementInput
const TYPE: VariableType
impl CoercesTo<Option<Option<SpendQueryElementInput>>> for SpendQueryElementInput
impl CoercesTo<Option<SpendQueryElementInput>> for SpendQueryElementInput
impl CoercesTo<Option<Vec<Option<SpendQueryElementInput>>>> for SpendQueryElementInput
impl CoercesTo<Option<Vec<SpendQueryElementInput>>> for SpendQueryElementInput
impl CoercesTo<SpendQueryElementInput> for SpendQueryElementInput
impl CoercesTo<Vec<SpendQueryElementInput>> for SpendQueryElementInput
impl CoercesTo<Vec<Vec<SpendQueryElementInput>>> for SpendQueryElementInput
Auto Trait Implementations§
impl Freeze for SpendQueryElementInput
impl RefUnwindSafe for SpendQueryElementInput
impl Send for SpendQueryElementInput
impl Sync for SpendQueryElementInput
impl Unpin for SpendQueryElementInput
impl UnwindSafe for SpendQueryElementInput
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<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