Struct subversioner::RuntimeVersion
source · pub struct RuntimeVersion {
pub spec_name: String,
pub impl_name: String,
pub authoring_version: u32,
pub spec_version: u32,
pub impl_version: u32,
pub transaction_version: u32,
pub state_version: u8,
}
Expand description
Runtime version.
Substrate reference(s):
Fields§
§spec_name: String
§impl_name: String
§spec_version: u32
§impl_version: u32
§transaction_version: u32
§state_version: u8
Trait Implementations§
source§impl Debug for RuntimeVersion
impl Debug for RuntimeVersion
source§impl PartialEq<RuntimeVersion> for RuntimeVersion
impl PartialEq<RuntimeVersion> for RuntimeVersion
source§fn eq(&self, other: &RuntimeVersion) -> bool
fn eq(&self, other: &RuntimeVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RuntimeVersion
impl StructuralEq for RuntimeVersion
impl StructuralPartialEq for RuntimeVersion
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeVersion
impl Send for RuntimeVersion
impl Sync for RuntimeVersion
impl Unpin for RuntimeVersion
impl UnwindSafe for RuntimeVersion
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