pub struct ChainSimple {
pub chain_id: String,
pub name: String,
}Fields§
§chain_id: StringThe ID of the chain
name: StringThe common name of the chain
Trait Implementations§
Source§impl Clone for ChainSimple
impl Clone for ChainSimple
Source§fn clone(&self) -> ChainSimple
fn clone(&self) -> ChainSimple
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChainSimple
impl Debug for ChainSimple
Source§impl<'de> Deserialize<'de> for ChainSimple
impl<'de> Deserialize<'de> for ChainSimple
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 Freeze for ChainSimple
impl RefUnwindSafe for ChainSimple
impl Send for ChainSimple
impl Sync for ChainSimple
impl Unpin for ChainSimple
impl UnsafeUnpin for ChainSimple
impl UnwindSafe for ChainSimple
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