pub struct DependencyVersionConstraint {
pub relationship: VersionRelationship,
pub version: PackageVersion,
}Expand description
Represents a version constraint on a given package.
Fields
relationship: VersionRelationshipversion: PackageVersionTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DependencyVersionConstraint
impl Send for DependencyVersionConstraint
impl Sync for DependencyVersionConstraint
impl Unpin for DependencyVersionConstraint
impl UnwindSafe for DependencyVersionConstraint
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more