pub struct ChainIdParamsInnerGeneric<ChainID> { /* private fields */ }
Implementations§
source§impl<T> ChainIdParamsInnerGeneric<T>
impl<T> ChainIdParamsInnerGeneric<T>
source§impl ChainIdParamsInnerGeneric<u32>
impl ChainIdParamsInnerGeneric<u32>
pub fn parse_config_str(config: &str) -> Result<Self, String>
source§impl ChainIdParamsInnerGeneric<AllChainID>
impl ChainIdParamsInnerGeneric<AllChainID>
pub fn new_simple(chain_id: AllChainID) -> ChainIdParams
pub fn new_from_inner(x: &Self) -> ChainIdParams
pub fn to_native_space_params(&self) -> ChainIdParamsOneChainInner
Trait Implementations§
source§impl<ChainID: Clone> Clone for ChainIdParamsInnerGeneric<ChainID>
impl<ChainID: Clone> Clone for ChainIdParamsInnerGeneric<ChainID>
source§fn clone(&self) -> ChainIdParamsInnerGeneric<ChainID>
fn clone(&self) -> ChainIdParamsInnerGeneric<ChainID>
Returns a copy 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<ChainID: Debug> Debug for ChainIdParamsInnerGeneric<ChainID>
impl<ChainID: Debug> Debug for ChainIdParamsInnerGeneric<ChainID>
source§impl<ChainID: Default> Default for ChainIdParamsInnerGeneric<ChainID>
impl<ChainID: Default> Default for ChainIdParamsInnerGeneric<ChainID>
source§fn default() -> ChainIdParamsInnerGeneric<ChainID>
fn default() -> ChainIdParamsInnerGeneric<ChainID>
Returns the “default value” for a type. Read more
source§impl<ChainID: PartialEq> PartialEq for ChainIdParamsInnerGeneric<ChainID>
impl<ChainID: PartialEq> PartialEq for ChainIdParamsInnerGeneric<ChainID>
source§fn eq(&self, other: &ChainIdParamsInnerGeneric<ChainID>) -> bool
fn eq(&self, other: &ChainIdParamsInnerGeneric<ChainID>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<ChainID> StructuralPartialEq for ChainIdParamsInnerGeneric<ChainID>
Auto Trait Implementations§
impl<ChainID> RefUnwindSafe for ChainIdParamsInnerGeneric<ChainID>where
ChainID: RefUnwindSafe,
impl<ChainID> Send for ChainIdParamsInnerGeneric<ChainID>where
ChainID: Send,
impl<ChainID> Sync for ChainIdParamsInnerGeneric<ChainID>where
ChainID: Sync,
impl<ChainID> Unpin for ChainIdParamsInnerGeneric<ChainID>where
ChainID: Unpin,
impl<ChainID> UnwindSafe for ChainIdParamsInnerGeneric<ChainID>where
ChainID: UnwindSafe,
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