Struct cli::types::RustVersionCondition
source · pub struct RustVersionCondition {
pub min: Option<String>,
pub max: Option<String>,
pub equal: Option<String>,
}
Expand description
Rust version condition structure
Fields§
§min: Option<String>
min version number
max: Option<String>
max version number
equal: Option<String>
specific version number
Trait Implementations§
source§impl Clone for RustVersionCondition
impl Clone for RustVersionCondition
source§fn clone(&self) -> RustVersionCondition
fn clone(&self) -> RustVersionCondition
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 RustVersionCondition
impl Debug for RustVersionCondition
source§impl<'de> Deserialize<'de> for RustVersionCondition
impl<'de> Deserialize<'de> for RustVersionCondition
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
Auto Trait Implementations§
impl Freeze for RustVersionCondition
impl RefUnwindSafe for RustVersionCondition
impl Send for RustVersionCondition
impl Sync for RustVersionCondition
impl Unpin for RustVersionCondition
impl UnwindSafe for RustVersionCondition
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more