pub struct DependencyVersionConstraint {
pub relationship: VersionRelationship,
pub version: PackageVersion,
}Expand description
Represents a version constraint on a given package.
Fields§
§relationship: VersionRelationship§version: PackageVersionTrait Implementations§
Source§impl Clone for DependencyVersionConstraint
impl Clone for DependencyVersionConstraint
Source§fn clone(&self) -> DependencyVersionConstraint
fn clone(&self) -> DependencyVersionConstraint
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 DependencyVersionConstraint
impl Debug for DependencyVersionConstraint
impl StructuralPartialEq for DependencyVersionConstraint
Auto Trait Implementations§
impl Freeze for DependencyVersionConstraint
impl RefUnwindSafe for DependencyVersionConstraint
impl Send for DependencyVersionConstraint
impl Sync for DependencyVersionConstraint
impl Unpin for DependencyVersionConstraint
impl UnwindSafe for DependencyVersionConstraint
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