pub struct RuntimeSection {
pub runtime_max: String,
pub runtime_current: String,
}Expand description
Runtime version bounds for this shell.
Fields§
§runtime_max: StringHighest Runtime semver the shell promises compatibility with
(e.g. "0.15"). Must be ≥ runtime_current.
runtime_current: StringRuntime semver the manifest author tested against (e.g. "0.13").
Trait Implementations§
Source§impl Clone for RuntimeSection
impl Clone for RuntimeSection
Source§fn clone(&self) -> RuntimeSection
fn clone(&self) -> RuntimeSection
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 RuntimeSection
impl Debug for RuntimeSection
Source§impl<'de> Deserialize<'de> for RuntimeSection
impl<'de> Deserialize<'de> for RuntimeSection
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
Source§impl PartialEq for RuntimeSection
impl PartialEq for RuntimeSection
Source§fn eq(&self, other: &RuntimeSection) -> bool
fn eq(&self, other: &RuntimeSection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeSection
impl Serialize for RuntimeSection
impl Eq for RuntimeSection
impl StructuralPartialEq for RuntimeSection
Auto Trait Implementations§
impl Freeze for RuntimeSection
impl RefUnwindSafe for RuntimeSection
impl Send for RuntimeSection
impl Sync for RuntimeSection
impl Unpin for RuntimeSection
impl UnsafeUnpin for RuntimeSection
impl UnwindSafe for RuntimeSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.