Struct bee_message::payload::transaction::RegularEssence
source · [−]pub struct RegularEssence { /* private fields */ }
Expand description
A transaction regular essence consuming inputs, creating outputs and carrying an optional payload.
Implementations
sourceimpl RegularEssence
impl RegularEssence
sourcepub fn builder() -> RegularEssenceBuilder
pub fn builder() -> RegularEssenceBuilder
Create a new RegularEssenceBuilder
to build a RegularEssence
.
Trait Implementations
sourceimpl Clone for RegularEssence
impl Clone for RegularEssence
sourcefn clone(&self) -> RegularEssence
fn clone(&self) -> RegularEssence
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 RegularEssence
impl Debug for RegularEssence
sourceimpl From<RegularEssence> for Essence
impl From<RegularEssence> for Essence
sourcefn from(essence: RegularEssence) -> Self
fn from(essence: RegularEssence) -> Self
Converts to this type from the input type.
sourceimpl Packable for RegularEssence
impl Packable for RegularEssence
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<RegularEssence> for RegularEssence
impl PartialEq<RegularEssence> for RegularEssence
sourcefn eq(&self, other: &RegularEssence) -> bool
fn eq(&self, other: &RegularEssence) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RegularEssence) -> bool
fn ne(&self, other: &RegularEssence) -> bool
This method tests for !=
.
impl Eq for RegularEssence
impl StructuralEq for RegularEssence
impl StructuralPartialEq for RegularEssence
Auto Trait Implementations
impl RefUnwindSafe for RegularEssence
impl Send for RegularEssence
impl Sync for RegularEssence
impl Unpin for RegularEssence
impl UnwindSafe for RegularEssence
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