Struct bee_message::prelude::MilestoneIndex [−][src]
#[repr(transparent)]pub struct MilestoneIndex(pub u32);
Expand description
A wrapper around a u32
that represents a milestone index.
Tuple Fields
0: u32
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Returns the length of the packed bytes.
Packs the instance to bytes and writes them to the passed writer.
Reads bytes from the passed reader and unpacks them into an instance.
Packs the instance to bytes and writes them to a newly allocated vector.
Reads bytes from the passed reader and unpacks them into an instance. Applies syntactic checks. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MilestoneIndex
impl Send for MilestoneIndex
impl Sync for MilestoneIndex
impl Unpin for MilestoneIndex
impl UnwindSafe for MilestoneIndex
Blanket Implementations
Mutably borrows from an owned value. Read more