pub struct PolkadotMetadata {
pub nonce: u32,
pub spec_version: u32,
pub transaction_version: u32,
pub genesis_hash: [u8; 32],
pub pallet_index: u8,
pub call_index: u8,
pub call_hash: [u8; 32],
}
Fields§
§nonce: u32
§spec_version: u32
§transaction_version: u32
§genesis_hash: [u8; 32]
§pallet_index: u8
§call_index: u8
§call_hash: [u8; 32]
Trait Implementations§
source§impl<'de> Deserialize<'de> for PolkadotMetadata
impl<'de> Deserialize<'de> for PolkadotMetadata
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PolkadotMetadata
impl Send for PolkadotMetadata
impl Sync for PolkadotMetadata
impl Unpin for PolkadotMetadata
impl UnwindSafe for PolkadotMetadata
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