Struct concordium_cis2::BalanceOfQuery
source · pub struct BalanceOfQuery<T: IsTokenId> {
pub token_id: T,
pub address: Address,
}
Expand description
A query for the balance of a given address for a given token.
Fields§
§token_id: T
The ID of the token for which to query the balance of.
address: Address
The address for which to query the balance of.
Trait Implementations§
source§impl<T> Deserial for BalanceOfQuery<T>where
T: Deserial + IsTokenId,
impl<T> Deserial for BalanceOfQuery<T>where
T: Deserial + IsTokenId,
source§impl<T> SchemaType for BalanceOfQuery<T>where
T: SchemaType + IsTokenId,
impl<T> SchemaType for BalanceOfQuery<T>where
T: SchemaType + IsTokenId,
Auto Trait Implementations§
impl<T> RefUnwindSafe for BalanceOfQuery<T>where
T: RefUnwindSafe,
impl<T> Send for BalanceOfQuery<T>where
T: Send,
impl<T> Sync for BalanceOfQuery<T>where
T: Sync,
impl<T> Unpin for BalanceOfQuery<T>where
T: Unpin,
impl<T> UnwindSafe for BalanceOfQuery<T>where
T: UnwindSafe,
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