Struct renvm_sig::RenVmMsg [−][src]
pub struct RenVmMsg { pub p_hash: [u8; 32], pub amount: [u8; 32], pub s_hash: [u8; 32], pub to: [u8; 32], pub n_hash: [u8; 32], }
Expand description
RenVm signature’s message structure.
Fields
p_hash: [u8; 32]
Hash of the payload.
amount: [u8; 32]
Amount to be minted.
s_hash: [u8; 32]
Hash of the RenVm cross-chain selector.
to: [u8; 32]
Recipient pub key.
n_hash: [u8; 32]
Hash of the nonce.
Implementations
Trait Implementations
impl BorshSerialize for RenVmMsg where
[u8; 32]: BorshSerialize,
[u8; 32]: BorshSerialize,
[u8; 32]: BorshSerialize,
[u8; 32]: BorshSerialize,
[u8; 32]: BorshSerialize,
[src]
impl BorshSerialize for RenVmMsg where
[u8; 32]: BorshSerialize,
[u8; 32]: BorshSerialize,
[u8; 32]: BorshSerialize,
[u8; 32]: BorshSerialize,
[u8; 32]: BorshSerialize,
[src]Serialize this instance into a vector of bytes.
Whether Self is u8.
NOTE: Vec<u8>
is the most common use-case for serialization and deserialization, it’s
worth handling it as a special case to improve performance.
It’s a workaround for specific Vec<u8>
implementation versus generic Vec<T>
implementation. See https://github.com/rust-lang/rfcs/pull/1210 for details. Read more
Auto Trait Implementations
impl RefUnwindSafe for RenVmMsg
impl UnwindSafe for RenVmMsg
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V