pub enum MaintenanceStatus {
Actively,
Passively,
AsIs,
None,
Experimental,
LookingForMaintainer,
Deprecated,
}Expand description
Represents the values status can take in a maintenance = { ... } badge
Variants§
Actively
maintenance = { status = "actively-developed" }
Passively
maintenance = { status = "passively-maintained" }
AsIs
maintenance = { status = "as-is" }
None
maintenance = { status = "none" }
Experimental
maintenance = { status = "experimental" }
LookingForMaintainer
maintenance = { status = "looking-for-maintainer" }
Deprecated
maintenance = { status = "deprecated" }
Trait Implementations§
Source§impl Clone for MaintenanceStatus
impl Clone for MaintenanceStatus
Source§fn clone(&self) -> MaintenanceStatus
fn clone(&self) -> MaintenanceStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MaintenanceStatus
Source§impl Debug for MaintenanceStatus
impl Debug for MaintenanceStatus
Source§impl Display for MaintenanceStatus
impl Display for MaintenanceStatus
Source§impl From<MaintenanceStatus> for Maintenance
impl From<MaintenanceStatus> for Maintenance
Source§fn from(m: MaintenanceStatus) -> Maintenance
fn from(m: MaintenanceStatus) -> Maintenance
Converts to this type from the input type.
Source§impl PartialEq for MaintenanceStatus
impl PartialEq for MaintenanceStatus
Source§fn eq(&self, other: &MaintenanceStatus) -> bool
fn eq(&self, other: &MaintenanceStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaintenanceStatus
Source§impl<'a> TryFrom<&'a str> for MaintenanceStatus
impl<'a> TryFrom<&'a str> for MaintenanceStatus
Auto Trait Implementations§
impl Freeze for MaintenanceStatus
impl RefUnwindSafe for MaintenanceStatus
impl Send for MaintenanceStatus
impl Sync for MaintenanceStatus
impl Unpin for MaintenanceStatus
impl UnsafeUnpin for MaintenanceStatus
impl UnwindSafe for MaintenanceStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DependencyExt for Twhere
T: Display,
impl<T> DependencyExt for Twhere
T: Display,
Source§fn version(&self, version: &str) -> Dependency
fn version(&self, version: &str) -> Dependency
Constructs a
Dependency using self.to_string() as the name, and version as the
semver version Read moreSource§fn repo(&self, repo: &str) -> Dependency
fn repo(&self, repo: &str) -> Dependency
Constructs a
Dependency using self.to_string() as the name, and repo as the git
repository Read moreSource§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more