Struct cfx_rpc_cfx_types::ChainStaticMeta
source · pub struct ChainStaticMeta;
Implementations§
source§impl ChainStaticMeta
impl ChainStaticMeta
pub fn chain_name() -> String
pub fn protocol_version() -> u64
pub fn client_version() -> String
Trait Implementations§
source§impl Clone for ChainStaticMeta
impl Clone for ChainStaticMeta
source§fn clone(&self) -> ChainStaticMeta
fn clone(&self) -> ChainStaticMeta
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 Debug for ChainStaticMeta
impl Debug for ChainStaticMeta
source§impl Default for ChainStaticMeta
impl Default for ChainStaticMeta
source§fn default() -> ChainStaticMeta
fn default() -> ChainStaticMeta
Returns the “default value” for a type. Read more
impl Copy for ChainStaticMeta
Auto Trait Implementations§
impl RefUnwindSafe for ChainStaticMeta
impl Send for ChainStaticMeta
impl Sync for ChainStaticMeta
impl Unpin for ChainStaticMeta
impl UnwindSafe for ChainStaticMeta
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