Struct bee_message::payload::treasury::TreasuryTransactionPayload
source · pub struct TreasuryTransactionPayload { /* private fields */ }Expand description
TreasuryTransaction represents a transaction which moves funds from the treasury.
Implementations§
Trait Implementations§
source§impl Clone for TreasuryTransactionPayload
impl Clone for TreasuryTransactionPayload
source§fn clone(&self) -> TreasuryTransactionPayload
fn clone(&self) -> TreasuryTransactionPayload
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 TreasuryTransactionPayload
impl Debug for TreasuryTransactionPayload
source§impl From<TreasuryTransactionPayload> for Payload
impl From<TreasuryTransactionPayload> for Payload
source§fn from(payload: TreasuryTransactionPayload) -> Self
fn from(payload: TreasuryTransactionPayload) -> Self
Converts to this type from the input type.
source§impl Packable for TreasuryTransactionPayload
impl Packable for TreasuryTransactionPayload
source§fn packed_len(&self) -> usize
fn packed_len(&self) -> usize
Returns the length of the packed bytes.
source§fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>
fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>
Packs the instance to bytes and writes them to the passed writer.
source§fn unpack_inner<R: Read + ?Sized, const CHECK: bool>(
reader: &mut R
) -> Result<Self, Self::Error>
fn unpack_inner<R: Read + ?Sized, const CHECK: bool>( reader: &mut R ) -> Result<Self, Self::Error>
Reads bytes from the passed reader and unpacks them into an instance.
source§fn pack_new(&self) -> Vec<u8, Global>
fn pack_new(&self) -> Vec<u8, Global>
Packs the instance to bytes and writes them to a newly allocated vector.
source§impl PartialEq<TreasuryTransactionPayload> for TreasuryTransactionPayload
impl PartialEq<TreasuryTransactionPayload> for TreasuryTransactionPayload
source§fn eq(&self, other: &TreasuryTransactionPayload) -> bool
fn eq(&self, other: &TreasuryTransactionPayload) -> bool
This method tests for
self and other values to be equal, and is used
by ==.