pub type Address = H160;
Expand description
Byte array of length 20
#![feature(proc_macro_hygiene)] use fvm_std::types::Address; let a = Address::default();
Aliased Type§
#[repr(C)]pub struct Address(pub [u8; 20]);
Tuple Fields§
§0: [u8; 20]
Implementations§
Trait Implementations§
Source§impl Serialize for Address
impl Serialize for Address
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more