#[non_exhaustive]pub struct RuntimeVersion {
pub name: String,
pub version: String,
/* private fields */
}Expand description
A runtime version that a Node can be configured with.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe resource name.
version: StringThe runtime version.
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeVersion
impl Clone for RuntimeVersion
Source§fn clone(&self) -> RuntimeVersion
fn clone(&self) -> RuntimeVersion
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 moreSource§impl Debug for RuntimeVersion
impl Debug for RuntimeVersion
Source§impl Default for RuntimeVersion
impl Default for RuntimeVersion
Source§fn default() -> RuntimeVersion
fn default() -> RuntimeVersion
Returns the “default value” for a type. Read more
Source§impl Message for RuntimeVersion
impl Message for RuntimeVersion
Source§impl PartialEq for RuntimeVersion
impl PartialEq for RuntimeVersion
impl StructuralPartialEq for RuntimeVersion
Auto Trait Implementations§
impl Freeze for RuntimeVersion
impl RefUnwindSafe for RuntimeVersion
impl Send for RuntimeVersion
impl Sync for RuntimeVersion
impl Unpin for RuntimeVersion
impl UnsafeUnpin 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