pub struct SendReceiver {
pub address: ArkAddress,
pub amount: Amount,
pub assets: Vec<Asset>,
}Expand description
A receiver for a generic offchain send with optional assets.
Fields§
§address: ArkAddress§amount: Amount§assets: Vec<Asset>Implementations§
Source§impl SendReceiver
impl SendReceiver
pub fn bitcoin(address: ArkAddress, amount: Amount) -> Self
Trait Implementations§
Source§impl Clone for SendReceiver
impl Clone for SendReceiver
Source§fn clone(&self) -> SendReceiver
fn clone(&self) -> SendReceiver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SendReceiver
impl RefUnwindSafe for SendReceiver
impl Send for SendReceiver
impl Sync for SendReceiver
impl Unpin for SendReceiver
impl UnsafeUnpin for SendReceiver
impl UnwindSafe for SendReceiver
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