Struct bee_message::unlock::ReferenceUnlock
source · pub struct ReferenceUnlock(_);Expand description
An UnlockBlock that refers to another unlock block.
Implementations§
Trait Implementations§
source§impl Clone for ReferenceUnlock
impl Clone for ReferenceUnlock
source§fn clone(&self) -> ReferenceUnlock
fn clone(&self) -> ReferenceUnlock
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 ReferenceUnlock
impl Debug for ReferenceUnlock
source§impl From<ReferenceUnlock> for UnlockBlock
impl From<ReferenceUnlock> for UnlockBlock
source§fn from(reference: ReferenceUnlock) -> Self
fn from(reference: ReferenceUnlock) -> Self
Converts to this type from the input type.
source§impl Hash for ReferenceUnlock
impl Hash for ReferenceUnlock
source§impl Packable for ReferenceUnlock
impl Packable for ReferenceUnlock
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<ReferenceUnlock> for ReferenceUnlock
impl PartialEq<ReferenceUnlock> for ReferenceUnlock
source§fn eq(&self, other: &ReferenceUnlock) -> bool
fn eq(&self, other: &ReferenceUnlock) -> bool
This method tests for
self and other values to be equal, and is used
by ==.