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
sourceimpl Clone for RustVersionCondition
impl Clone for RustVersionCondition
sourcefn clone(&self) -> RustVersionCondition
fn clone(&self) -> RustVersionCondition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RustVersionCondition
impl Debug for RustVersionCondition
sourceimpl<'de> Deserialize<'de> for RustVersionCondition
impl<'de> Deserialize<'de> for RustVersionCondition
sourcefn 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
sourceimpl Serialize for RustVersionCondition
impl Serialize for RustVersionCondition
Auto Trait Implementations
impl RefUnwindSafe for RustVersionCondition
impl Send for RustVersionCondition
impl Sync for RustVersionCondition
impl Unpin for RustVersionCondition
impl UnwindSafe for RustVersionCondition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more