pub enum Payload {
ID(u64),
Secp256k1([u8; 20]),
Actor([u8; 20]),
BLS(BLSPublicKey),
}Expand description
Payload is the data of the Address. Variants are the supported Address protocols.
Variants§
ID(u64)
ID protocol address.
Secp256k1([u8; 20])
SECP256K1 key address, 20 byte hash of PublicKey
Actor([u8; 20])
Actor protocol address, 20 byte hash of actor data
BLS(BLSPublicKey)
BLS key address, full 48 byte public key
Implementations§
Trait Implementations§
impl Copy for Payload
impl Eq for Payload
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnwindSafe for Payload
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