pub struct MultiEraUpdate(/* private fields */);Implementations§
Source§impl MultiEraUpdate
impl MultiEraUpdate
pub fn epoch(&self) -> u64
pub fn proposed_protocol_parameter_updates( &self, ) -> MapGenesisHashToMultiEraProtocolParamUpdate
Trait Implementations§
Source§impl AsRef<MultiEraUpdate> for MultiEraUpdate
impl AsRef<MultiEraUpdate> for MultiEraUpdate
Source§fn as_ref(&self) -> &MultiEraUpdate
fn as_ref(&self) -> &MultiEraUpdate
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for MultiEraUpdate
impl Clone for MultiEraUpdate
Source§fn clone(&self) -> MultiEraUpdate
fn clone(&self) -> MultiEraUpdate
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 Debug for MultiEraUpdate
impl Debug for MultiEraUpdate
Source§impl From<MultiEraUpdate> for JsValue
impl From<MultiEraUpdate> for JsValue
Source§fn from(value: MultiEraUpdate) -> Self
fn from(value: MultiEraUpdate) -> Self
Converts to this type from the input type.
Source§impl From<MultiEraUpdate> for MultiEraUpdate
impl From<MultiEraUpdate> for MultiEraUpdate
Source§fn from(native: MultiEraUpdate) -> Self
fn from(native: MultiEraUpdate) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for MultiEraUpdate
impl FromWasmAbi for MultiEraUpdate
Source§impl Into<MultiEraUpdate> for MultiEraUpdate
impl Into<MultiEraUpdate> for MultiEraUpdate
Source§fn into(self) -> MultiEraUpdate
fn into(self) -> MultiEraUpdate
Converts this type into the (usually inferred) input type.
Source§impl IntoWasmAbi for MultiEraUpdate
impl IntoWasmAbi for MultiEraUpdate
Source§impl LongRefFromWasmAbi for MultiEraUpdate
impl LongRefFromWasmAbi for MultiEraUpdate
Source§impl OptionFromWasmAbi for MultiEraUpdate
impl OptionFromWasmAbi for MultiEraUpdate
Source§impl OptionIntoWasmAbi for MultiEraUpdate
impl OptionIntoWasmAbi for MultiEraUpdate
Source§impl RefFromWasmAbi for MultiEraUpdate
impl RefFromWasmAbi for MultiEraUpdate
Source§type Anchor = RcRef<MultiEraUpdate>
type Anchor = RcRef<MultiEraUpdate>
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 RefMutFromWasmAbi for MultiEraUpdate
impl RefMutFromWasmAbi for MultiEraUpdate
Source§impl TryFromJsValue for MultiEraUpdate
impl TryFromJsValue for MultiEraUpdate
Source§impl VectorFromWasmAbi for MultiEraUpdate
impl VectorFromWasmAbi for MultiEraUpdate
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[MultiEraUpdate]>
Source§impl VectorIntoWasmAbi for MultiEraUpdate
impl VectorIntoWasmAbi for MultiEraUpdate
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[MultiEraUpdate]>) -> Self::Abi
Source§impl WasmDescribeVector for MultiEraUpdate
impl WasmDescribeVector for MultiEraUpdate
impl SupportsConstructor for MultiEraUpdate
impl SupportsInstanceProperty for MultiEraUpdate
impl SupportsStaticProperty for MultiEraUpdate
Auto Trait Implementations§
impl Freeze for MultiEraUpdate
impl RefUnwindSafe for MultiEraUpdate
impl Send for MultiEraUpdate
impl Sync for MultiEraUpdate
impl Unpin for MultiEraUpdate
impl UnsafeUnpin for MultiEraUpdate
impl UnwindSafe for MultiEraUpdate
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.