Struct avalanche_types::txs::transferable::Output
source · pub struct Output {
pub asset_id: Id,
pub fx_id: Option<Id>,
pub transfer_output: Option<Output>,
pub stakeable_lock_out: Option<StakeableLockOut>,
}
Expand description
Fields§
§asset_id: Id
§fx_id: Option<Id>
Packer skips serialization due to serialize:“false” in avalanchego.
transfer_output: Option<Output>
The underlying type is one of the following:
“*secp256k1fx.TransferOutput” ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/vms/secp256k1fx#TransferOutput
“*platformvm.StakeableLockOut” which embeds “*secp256k1fx.TransferOutput” ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/vms/platformvm#StakeableLockOut
MUST: only one of the following can be “Some”.
stakeable_lock_out: Option<StakeableLockOut>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Output
impl<'de> Deserialize<'de> for Output
source§fn 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
source§impl Ord for Output
impl Ord for Output
source§impl PartialEq<Output> for Output
impl PartialEq<Output> for Output
source§impl PartialOrd<Output> for Output
impl PartialOrd<Output> for Output
1.0.0 · source§fn 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 moreimpl Eq for Output
impl StructuralEq for Output
Auto Trait Implementations§
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request