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