pub struct RuntimeSpec {
pub spec_name: String,
pub impl_name: String,
pub spec_version: u32,
pub impl_version: u32,
pub transaction_version: Option<u32>,
pub apis: Vec<(String, u32)>,
}Expand description
Parsed runtime specification fields.
Fields§
§spec_name: String§impl_name: String§spec_version: u32§impl_version: u32§transaction_version: Option<u32>None when the chain does not expose a transaction version.
apis: Vec<(String, u32)>List of (apiName, version) tuples.
Trait Implementations§
Source§impl Clone for RuntimeSpec
impl Clone for RuntimeSpec
Source§fn clone(&self) -> RuntimeSpec
fn clone(&self) -> RuntimeSpec
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 moreAuto Trait Implementations§
impl Freeze for RuntimeSpec
impl RefUnwindSafe for RuntimeSpec
impl Send for RuntimeSpec
impl Sync for RuntimeSpec
impl Unpin for RuntimeSpec
impl UnsafeUnpin for RuntimeSpec
impl UnwindSafe for RuntimeSpec
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