Struct dharitri_wasm::types::SendToken
source · pub struct SendToken<BigUint: BigUintApi> {
pub to: Address,
pub token: TokenIdentifier,
pub amount: BigUint,
pub data: BoxedBytes,
}Fields§
§to: Address§token: TokenIdentifier§amount: BigUint§data: BoxedBytesTrait Implementations§
source§impl<FA, BigUint> EndpointResult<FA> for SendToken<BigUint>where
BigUint: BigUintApi + 'static,
FA: EndpointFinishApi + SendApi<BigUint> + ErrorApi + Clone + 'static,
impl<FA, BigUint> EndpointResult<FA> for SendToken<BigUint>where
BigUint: BigUintApi + 'static,
FA: EndpointFinishApi + SendApi<BigUint> + ErrorApi + Clone + 'static,
source§impl<BigUint: BigUintApi> TypeAbi for SendToken<BigUint>
impl<BigUint: BigUintApi> TypeAbi for SendToken<BigUint>
fn type_name() -> String
source§fn provide_type_descriptions<TDC: TypeDescriptionContainer>(_: &mut TDC)
fn provide_type_descriptions<TDC: TypeDescriptionContainer>(_: &mut TDC)
A type can provide more than its own description.
For instance, a struct can also provide the descriptions of the type of its fields.
TypeAbi doesn’t care for the exact accumulator type,
which is abstracted by the TypeDescriptionContainer trait.
Auto Trait Implementations§
impl<BigUint> RefUnwindSafe for SendToken<BigUint>where
BigUint: RefUnwindSafe,
impl<BigUint> Send for SendToken<BigUint>where
BigUint: Send,
impl<BigUint> Sync for SendToken<BigUint>where
BigUint: Sync,
impl<BigUint> Unpin for SendToken<BigUint>where
BigUint: Unpin,
impl<BigUint> UnwindSafe for SendToken<BigUint>where
BigUint: 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