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§
source§impl RegularEssence
impl RegularEssence
sourcepub fn builder() -> RegularEssenceBuilder
pub fn builder() -> RegularEssenceBuilder
Create a new RegularEssenceBuilder to build a RegularEssence.
Trait Implementations§
source§impl Clone for RegularEssence
impl Clone for RegularEssence
source§fn clone(&self) -> RegularEssence
fn clone(&self) -> RegularEssence
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 RegularEssence
impl Debug for RegularEssence
source§impl From<RegularEssence> for Essence
impl From<RegularEssence> for Essence
source§fn from(essence: RegularEssence) -> Self
fn from(essence: RegularEssence) -> Self
Converts to this type from the input type.
source§impl Packable for RegularEssence
impl Packable for RegularEssence
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<RegularEssence> for RegularEssence
impl PartialEq<RegularEssence> for RegularEssence
source§fn 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 ==.