pub struct AssetOutput {
pub output_index: u16,
pub amount: u64,
}Expand description
A local asset output referencing a transaction output by index.
Fields§
§output_index: u16Index into the transaction’s outputs.
amount: u64Amount of asset to this output.
Trait Implementations§
Source§impl Clone for AssetOutput
impl Clone for AssetOutput
Source§fn clone(&self) -> AssetOutput
fn clone(&self) -> AssetOutput
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 AssetOutput
impl RefUnwindSafe for AssetOutput
impl Send for AssetOutput
impl Sync for AssetOutput
impl Unpin for AssetOutput
impl UnsafeUnpin for AssetOutput
impl UnwindSafe for AssetOutput
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