Struct dharitri_wasm::types::SendDct
source · pub struct SendDct<SA>where
SA: CallTypeApi + StorageReadApi + 'static,{
pub data: ManagedBuffer<SA>,
/* private fields */
}Fields§
§data: ManagedBuffer<SA>Implementations§
source§impl<SA> SendDct<SA>where
SA: CallTypeApi + StorageReadApi + 'static,
impl<SA> SendDct<SA>where
SA: CallTypeApi + StorageReadApi + 'static,
pub fn new( to: ManagedAddress<SA>, token_identifier: TokenIdentifier<SA>, amount: BigUint<SA>, data: ManagedBuffer<SA> ) -> Self
Trait Implementations§
source§impl<SA> EndpointResult for SendDct<SA>where
SA: CallTypeApi + StorageReadApi + 'static,
impl<SA> EndpointResult for SendDct<SA>where
SA: CallTypeApi + StorageReadApi + 'static,
source§impl<SA> TypeAbi for SendDct<SA>where
SA: CallTypeApi + StorageReadApi + 'static,
impl<SA> TypeAbi for SendDct<SA>where
SA: CallTypeApi + StorageReadApi + 'static,
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<SA> RefUnwindSafe for SendDct<SA>where
SA: RefUnwindSafe,
impl<SA> Send for SendDct<SA>where
SA: Send,
impl<SA> Sync for SendDct<SA>where
SA: Sync,
impl<SA> Unpin for SendDct<SA>where
SA: Unpin,
impl<SA> UnwindSafe for SendDct<SA>where
SA: 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