Struct facti_lib::version::VersionSpec
source · pub struct VersionSpec {
pub op: Op,
pub version: Version,
}Fields§
§op: Op§version: VersionImplementations§
Trait Implementations§
source§impl Clone for VersionSpec
impl Clone for VersionSpec
source§fn clone(&self) -> VersionSpec
fn clone(&self) -> VersionSpec
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 VersionSpec
impl Debug for VersionSpec
source§impl Display for VersionSpec
impl Display for VersionSpec
source§impl From<VersionSpec> for VersionReq
impl From<VersionSpec> for VersionReq
source§fn from(value: VersionSpec) -> Self
fn from(value: VersionSpec) -> Self
Converts to this type from the input type.
source§impl FromStr for VersionSpec
impl FromStr for VersionSpec
source§impl PartialEq<VersionSpec> for VersionSpec
impl PartialEq<VersionSpec> for VersionSpec
source§fn eq(&self, other: &VersionSpec) -> bool
fn eq(&self, other: &VersionSpec) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<VersionReq> for VersionSpec
impl TryFrom<VersionReq> for VersionSpec
§type Error = VersionParseError
type Error = VersionParseError
The type returned in the event of a conversion error.
impl Copy for VersionSpec
impl Eq for VersionSpec
impl StructuralEq for VersionSpec
impl StructuralPartialEq for VersionSpec
Auto Trait Implementations§
impl RefUnwindSafe for VersionSpec
impl Send for VersionSpec
impl Sync for VersionSpec
impl Unpin for VersionSpec
impl UnwindSafe for VersionSpec
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