pub enum Scope {
}
Variants§
Major(Operator)
Minor(Operator)
Patch(Operator)
Alpha(Operator)
Beta(Operator)
Pre(Operator)
RC(Operator)
Build(Operator)
Get
Set(Operator)
Version
Revision
File(Operator)
Package(String, Box<Scope>)
ListPackages
RmPackage
Trait Implementations§
Source§impl TryFrom<&PackageCommand> for Scope
impl TryFrom<&PackageCommand> for Scope
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&PackageOperation> for Scope
impl TryFrom<&PackageOperation> for Scope
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&VersionCommand> for Scope
impl TryFrom<&VersionCommand> for Scope
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§fn try_from(cmd: &VersionCommand) -> Result<Self, VersionError>
fn try_from(cmd: &VersionCommand) -> Result<Self, VersionError>
Performs the conversion.
Source§impl TryFrom<PackageCommand> for Scope
impl TryFrom<PackageCommand> for Scope
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<PackageOperation> for Scope
impl TryFrom<PackageOperation> for Scope
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§impl TryFrom<VersionCommand> for Scope
impl TryFrom<VersionCommand> for Scope
Source§type Error = VersionError
type Error = VersionError
The type returned in the event of a conversion error.
Source§fn try_from(cmd: VersionCommand) -> Result<Self, VersionError>
fn try_from(cmd: VersionCommand) -> Result<Self, VersionError>
Performs the conversion.
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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