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
sourceimpl Clone for TreasuryTransactionPayload
impl Clone for TreasuryTransactionPayload
sourcefn clone(&self) -> TreasuryTransactionPayload
fn clone(&self) -> TreasuryTransactionPayload
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 more
sourceimpl Debug for TreasuryTransactionPayload
impl Debug for TreasuryTransactionPayload
sourceimpl From<TreasuryTransactionPayload> for Payload
impl From<TreasuryTransactionPayload> for Payload
sourcefn from(payload: TreasuryTransactionPayload) -> Self
fn from(payload: TreasuryTransactionPayload) -> Self
Converts to this type from the input type.
sourceimpl Packable for TreasuryTransactionPayload
impl Packable for TreasuryTransactionPayload
sourcefn packed_len(&self) -> usize
fn packed_len(&self) -> usize
Returns the length of the packed bytes.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourceimpl PartialEq<TreasuryTransactionPayload> for TreasuryTransactionPayload
impl PartialEq<TreasuryTransactionPayload> for TreasuryTransactionPayload
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &TreasuryTransactionPayload) -> bool
fn ne(&self, other: &TreasuryTransactionPayload) -> bool
This method tests for !=.
impl Eq for TreasuryTransactionPayload
impl StructuralEq for TreasuryTransactionPayload
impl StructuralPartialEq for TreasuryTransactionPayload
Auto Trait Implementations
impl RefUnwindSafe for TreasuryTransactionPayload
impl Send for TreasuryTransactionPayload
impl Sync for TreasuryTransactionPayload
impl Unpin for TreasuryTransactionPayload
impl UnwindSafe for TreasuryTransactionPayload
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more