Struct everscale_types::models::message::Anycast
source · pub struct Anycast {
pub depth: SplitDepth,
pub rewrite_prefix: Vec<u8>,
}Expand description
Anycast prefix info.
anycast_info$_ depth:(#<= 30) { depth >= 1 } rewrite_pfx:(bits depth) = Anycast;
Fields§
§depth: SplitDepthPrefix length in bits.
rewrite_prefix: Vec<u8>Rewrite prefix data.
Implementations§
Trait Implementations§
source§impl Ord for Anycast
impl Ord for Anycast
source§impl PartialEq<Anycast> for Anycast
impl PartialEq<Anycast> for Anycast
source§impl PartialOrd<Anycast> for Anycast
impl PartialOrd<Anycast> for Anycast
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Store for Anycast
impl Store for Anycast
source§fn store_into(
&self,
builder: &mut CellBuilder,
finalizer: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, finalizer: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for Anycast
impl StructuralEq for Anycast
impl StructuralPartialEq for Anycast
Auto Trait Implementations§
impl RefUnwindSafe for Anycast
impl Send for Anycast
impl Sync for Anycast
impl Unpin for Anycast
impl UnwindSafe for Anycast
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more