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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl 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>,
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
sourcefn cmp(&self, other: &TransferableInput) -> Ordering
fn cmp(&self, other: &TransferableInput) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
sourceimpl PartialEq<TransferableInput> for TransferableInput
impl PartialEq<TransferableInput> for TransferableInput
sourcefn eq(&self, other: &TransferableInput) -> bool
fn eq(&self, other: &TransferableInput) -> bool
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>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresourceimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request