Struct avalanche_types::platformvm::txs::UnsignedTx
source · pub struct UnsignedTx {
pub network_id: u32,
pub blockchain_id: Id,
pub transferable_outputs: Option<Vec<Output>>,
pub transferable_inputs: Option<Vec<Input>>,
pub output_owners: OutputOwners,
pub memo: Option<Vec<u8>>,
}
Expand description
Fields§
§network_id: u32
§blockchain_id: Id
§transferable_outputs: Option<Vec<Output>>
§transferable_inputs: Option<Vec<Input>>
§output_owners: OutputOwners
§memo: Option<Vec<u8>>
Implementations§
source§impl UnsignedTx
impl UnsignedTx
Trait Implementations§
source§impl Clone for UnsignedTx
impl Clone for UnsignedTx
source§fn clone(&self) -> UnsignedTx
fn clone(&self) -> UnsignedTx
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnsignedTx
impl Debug for UnsignedTx
source§impl Default for UnsignedTx
impl Default for UnsignedTx
source§impl<'de> Deserialize<'de> for UnsignedTx
impl<'de> Deserialize<'de> for UnsignedTx
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 PartialEq<UnsignedTx> for UnsignedTx
impl PartialEq<UnsignedTx> for UnsignedTx
source§fn eq(&self, other: &UnsignedTx) -> bool
fn eq(&self, other: &UnsignedTx) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnsignedTx
impl Serialize for UnsignedTx
impl Eq for UnsignedTx
impl StructuralEq for UnsignedTx
impl StructuralPartialEq for UnsignedTx
Auto Trait Implementations§
impl RefUnwindSafe for UnsignedTx
impl Send for UnsignedTx
impl Sync for UnsignedTx
impl Unpin for UnsignedTx
impl UnwindSafe for UnsignedTx
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