Struct bee_message::payload::milestone::MilestoneId [−][src]
pub struct MilestoneId(_);
A milestone identifier, the BLAKE2b-256 hash of the milestone bytes. See https://www.blake2.net/ for more information.
Implementations
Trait Implementations
impl Clone for MilestoneId[src]
impl Clone for MilestoneId[src]fn clone(&self) -> MilestoneId[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for MilestoneId[src]
impl Copy for MilestoneId[src]impl Eq for MilestoneId[src]
impl Eq for MilestoneId[src]impl From<MilestoneId> for TreasuryInput[src]
impl From<MilestoneId> for TreasuryInput[src]fn from(id: MilestoneId) -> Self[src]
impl FromStr for MilestoneId[src]
impl FromStr for MilestoneId[src]impl Hash for MilestoneId[src]
impl Hash for MilestoneId[src]impl Ord for MilestoneId[src]
impl Ord for MilestoneId[src]impl Packable for MilestoneId[src]
impl Packable for MilestoneId[src]type Error = Error
Associated error type.
fn packed_len(&self) -> usize[src]
fn pack<W: Write>(&self, writer: &mut W) -> Result<(), Self::Error>[src]
fn unpack_inner<R: Read + ?Sized, const CHECK: bool>(
reader: &mut R
) -> Result<Self, Self::Error>[src]
reader: &mut R
) -> Result<Self, Self::Error>
pub fn pack_new(&self) -> Vec<u8, Global>[src]
pub fn unpack<R>(reader: &mut R) -> Result<Self, Self::Error> where
R: Read + ?Sized, [src]
R: Read + ?Sized,
pub fn unpack_unchecked<R>(reader: &mut R) -> Result<Self, Self::Error> where
R: Read + ?Sized, [src]
R: Read + ?Sized,
impl PartialEq<MilestoneId> for MilestoneId[src]
impl PartialEq<MilestoneId> for MilestoneId[src]fn eq(&self, other: &MilestoneId) -> bool[src]
fn ne(&self, other: &MilestoneId) -> bool[src]
impl PartialOrd<MilestoneId> for MilestoneId[src]
impl PartialOrd<MilestoneId> for MilestoneId[src]impl StructuralEq for MilestoneId[src]
impl StructuralEq for MilestoneId[src]impl StructuralPartialEq for MilestoneId[src]
impl StructuralPartialEq for MilestoneId[src]Auto Trait Implementations
impl RefUnwindSafe for MilestoneId
impl RefUnwindSafe for MilestoneIdimpl Send for MilestoneId
impl Send for MilestoneIdimpl Sync for MilestoneId
impl Sync for MilestoneIdimpl Unpin for MilestoneId
impl Unpin for MilestoneIdimpl UnwindSafe for MilestoneId
impl UnwindSafe for MilestoneIdBlanket Implementations
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<T> ToBase32 for T where
T: AsRef<[u8]>, [src]
impl<T> ToBase32 for T where
T: AsRef<[u8]>, [src]pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32, [src]
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
pub fn to_base32(&self) -> Vec<u5, Global>[src]
impl<T> ToHex for T where
T: AsRef<[u8]>, [src]
impl<T> ToHex for T where
T: AsRef<[u8]>, [src]pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>, [src]
U: FromIterator<char>,
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>, [src]
U: FromIterator<char>,