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
ref. https://docs.avax.network/apis/avalanchego/apis/p-chain#platformgettx
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
sourceimpl UnsignedTx
impl UnsignedTx
Trait Implementations
sourceimpl Clone for UnsignedTx
impl Clone for UnsignedTx
sourcefn clone(&self) -> UnsignedTx
fn clone(&self) -> UnsignedTx
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 moresourceimpl Debug for UnsignedTx
impl Debug for UnsignedTx
sourceimpl Default for UnsignedTx
impl Default for UnsignedTx
sourceimpl<'de> Deserialize<'de> for UnsignedTx
impl<'de> Deserialize<'de> for UnsignedTx
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 PartialEq<UnsignedTx> for UnsignedTx
impl PartialEq<UnsignedTx> for UnsignedTx
sourcefn eq(&self, other: &UnsignedTx) -> bool
fn eq(&self, other: &UnsignedTx) -> bool
sourceimpl 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
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
Mutably borrows from an owned value. Read more
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
Compare self to
key
and return true
if they are equal.