Struct avalanche_types::avax::TransferableInput
source · [−]pub struct TransferableInput {
pub utxo_id: UtxoId,
pub asset_id: Id,
pub fx_id: Id,
pub transfer_input: Option<TransferInput>,
pub stakeable_lock_in: Option<StakeableLockIn>,
}
Expand description
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/vms/components/avax#TransferableInput ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/vms/components/avax#TransferableIn ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/vms/secp256k1fx#TransferInput
Fields
utxo_id: UtxoId
asset_id: Id
fx_id: Id
transfer_input: Option<TransferInput>
The underlying type is one of the following:
“*secp256k1fx.TransferInput” ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/vms/secp256k1fx#TransferInput
“*platformvm.StakeableLockIn” which embeds “*secp256k1fx.TransferInput” ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/vms/platformvm#StakeableLockIn
MUST: only one of the following can be “Some”.
stakeable_lock_in: Option<StakeableLockIn>
Implementations
Trait Implementations
sourceimpl Clone for TransferableInput
impl Clone for TransferableInput
sourcefn clone(&self) -> TransferableInput
fn clone(&self) -> TransferableInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TransferableInput
impl Debug for TransferableInput
sourceimpl Default for TransferableInput
impl Default for TransferableInput
sourceimpl<'de> Deserialize<'de> for TransferableInput
impl<'de> Deserialize<'de> for TransferableInput
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Ord for TransferableInput
impl Ord for TransferableInput
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/vms/components/avax#SortTransferableInputs ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/vms/components/avax#SortTransferableInputsWithSigners
sourceimpl PartialOrd<TransferableInput> for TransferableInput
impl PartialOrd<TransferableInput> for TransferableInput
sourcefn partial_cmp(&self, other: &TransferableInput) -> Option<Ordering>
fn partial_cmp(&self, other: &TransferableInput) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for TransferableInput
impl Serialize for TransferableInput
impl Eq for TransferableInput
impl StructuralEq for TransferableInput
Auto Trait Implementations
impl RefUnwindSafe for TransferableInput
impl Send for TransferableInput
impl Sync for TransferableInput
impl Unpin for TransferableInput
impl UnwindSafe for TransferableInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.