Struct bee_message::output::TreasuryOutput
source · [−]pub struct TreasuryOutput { /* private fields */ }
Expand description
TreasuryOutput
is an output which holds the treasury of a network.
Implementations
Trait Implementations
sourceimpl Clone for TreasuryOutput
impl Clone for TreasuryOutput
sourcefn clone(&self) -> TreasuryOutput
fn clone(&self) -> TreasuryOutput
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 TreasuryOutput
impl Debug for TreasuryOutput
sourceimpl From<TreasuryOutput> for Output
impl From<TreasuryOutput> for Output
sourcefn from(output: TreasuryOutput) -> Self
fn from(output: TreasuryOutput) -> Self
Converts to this type from the input type.
sourceimpl Ord for TreasuryOutput
impl Ord for TreasuryOutput
sourceimpl Packable for TreasuryOutput
impl Packable for TreasuryOutput
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<TreasuryOutput> for TreasuryOutput
impl PartialEq<TreasuryOutput> for TreasuryOutput
sourcefn eq(&self, other: &TreasuryOutput) -> bool
fn eq(&self, other: &TreasuryOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TreasuryOutput) -> bool
fn ne(&self, other: &TreasuryOutput) -> bool
This method tests for !=
.
sourceimpl PartialOrd<TreasuryOutput> for TreasuryOutput
impl PartialOrd<TreasuryOutput> for TreasuryOutput
sourcefn partial_cmp(&self, other: &TreasuryOutput) -> Option<Ordering>
fn partial_cmp(&self, other: &TreasuryOutput) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Eq for TreasuryOutput
impl StructuralEq for TreasuryOutput
impl StructuralPartialEq for TreasuryOutput
Auto Trait Implementations
impl RefUnwindSafe for TreasuryOutput
impl Send for TreasuryOutput
impl Sync for TreasuryOutput
impl Unpin for TreasuryOutput
impl UnwindSafe for TreasuryOutput
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more