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.