Struct everscale_types::models::message::StdAddr
source · pub struct StdAddr {
pub anycast: Option<Box<Anycast>>,
pub workchain: i8,
pub address: [u8; 32],
}Expand description
Standard internal address.
Fields§
§anycast: Option<Box<Anycast>>Optional anycast info.
workchain: i8Workchain id (one-byte range).
address: [u8; 32]Account id.
Implementations§
source§impl StdAddr
impl StdAddr
sourcepub const BITS_WITHOUT_ANYCAST: u16 = 267u16
pub const BITS_WITHOUT_ANYCAST: u16 = 267u16
The number of data bits that address without anycast occupies.
- 2 bits id (
0b10) - 1 bit Maybe None
- 8 bits workchain
- 256 bits address
sourcepub const BITS_MAX: u16 = 302u16
pub const BITS_MAX: u16 = 302u16
The maximum number of bits that address with anycast occupies.
Trait Implementations§
source§impl<'a, C: CellFamily> Load<'a, C> for StdAddr
impl<'a, C: CellFamily> Load<'a, C> for StdAddr
source§impl Ord for StdAddr
impl Ord for StdAddr
source§impl PartialEq<StdAddr> for StdAddr
impl PartialEq<StdAddr> for StdAddr
source§impl PartialOrd<StdAddr> for StdAddr
impl PartialOrd<StdAddr> for StdAddr
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<C: CellFamily> Store<C> for StdAddr
impl<C: CellFamily> Store<C> for StdAddr
source§fn store_into(
&self,
builder: &mut CellBuilder<C>,
finalizer: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, builder: &mut CellBuilder<C>, finalizer: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.