pub struct MapGenesisHashToMultiEraProtocolParamUpdate(/* private fields */);Implementations§
Source§impl MapGenesisHashToMultiEraProtocolParamUpdate
impl MapGenesisHashToMultiEraProtocolParamUpdate
pub fn get(&self, key: &GenesisHash) -> Option<MultiEraProtocolParamUpdate>
pub fn insert( &mut self, key: &GenesisHash, value: &MultiEraProtocolParamUpdate, ) -> Option<MultiEraProtocolParamUpdate>
Trait Implementations§
Source§impl AsRef<OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>> for MapGenesisHashToMultiEraProtocolParamUpdate
impl AsRef<OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>> for MapGenesisHashToMultiEraProtocolParamUpdate
Source§fn as_ref(&self) -> &OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>
fn as_ref(&self) -> &OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for MapGenesisHashToMultiEraProtocolParamUpdate
impl Clone for MapGenesisHashToMultiEraProtocolParamUpdate
Source§fn clone(&self) -> MapGenesisHashToMultiEraProtocolParamUpdate
fn clone(&self) -> MapGenesisHashToMultiEraProtocolParamUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<MapGenesisHashToMultiEraProtocolParamUpdate> for JsValue
impl From<MapGenesisHashToMultiEraProtocolParamUpdate> for JsValue
Source§fn from(value: MapGenesisHashToMultiEraProtocolParamUpdate) -> Self
fn from(value: MapGenesisHashToMultiEraProtocolParamUpdate) -> Self
Converts to this type from the input type.
Source§impl From<OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>> for MapGenesisHashToMultiEraProtocolParamUpdate
impl From<OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>> for MapGenesisHashToMultiEraProtocolParamUpdate
Source§fn from(
native: OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>,
) -> Self
fn from( native: OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>, ) -> Self
Converts to this type from the input type.
Source§impl Into<OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>> for MapGenesisHashToMultiEraProtocolParamUpdate
impl Into<OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>> for MapGenesisHashToMultiEraProtocolParamUpdate
Source§fn into(self) -> OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>
fn into(self) -> OrderedHashMap<GenesisHash, MultiEraProtocolParamUpdate>
Converts this type into the (usually inferred) input type.
Source§impl RefFromWasmAbi for MapGenesisHashToMultiEraProtocolParamUpdate
impl RefFromWasmAbi for MapGenesisHashToMultiEraProtocolParamUpdate
Source§type Anchor = RcRef<MapGenesisHashToMultiEraProtocolParamUpdate>
type Anchor = RcRef<MapGenesisHashToMultiEraProtocolParamUpdate>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for MapGenesisHashToMultiEraProtocolParamUpdate
impl VectorFromWasmAbi for MapGenesisHashToMultiEraProtocolParamUpdate
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: Self::Abi, ) -> Box<[MapGenesisHashToMultiEraProtocolParamUpdate]>
Source§impl VectorIntoWasmAbi for MapGenesisHashToMultiEraProtocolParamUpdate
impl VectorIntoWasmAbi for MapGenesisHashToMultiEraProtocolParamUpdate
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[MapGenesisHashToMultiEraProtocolParamUpdate]>, ) -> Self::Abi
Source§impl WasmDescribeVector for MapGenesisHashToMultiEraProtocolParamUpdate
impl WasmDescribeVector for MapGenesisHashToMultiEraProtocolParamUpdate
impl SupportsConstructor for MapGenesisHashToMultiEraProtocolParamUpdate
impl SupportsInstanceProperty for MapGenesisHashToMultiEraProtocolParamUpdate
impl SupportsStaticProperty for MapGenesisHashToMultiEraProtocolParamUpdate
Auto Trait Implementations§
impl Freeze for MapGenesisHashToMultiEraProtocolParamUpdate
impl RefUnwindSafe for MapGenesisHashToMultiEraProtocolParamUpdate
impl Send for MapGenesisHashToMultiEraProtocolParamUpdate
impl Sync for MapGenesisHashToMultiEraProtocolParamUpdate
impl Unpin for MapGenesisHashToMultiEraProtocolParamUpdate
impl UnsafeUnpin for MapGenesisHashToMultiEraProtocolParamUpdate
impl UnwindSafe for MapGenesisHashToMultiEraProtocolParamUpdate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.