pub enum ThreatKind {
HabitatLoss,
ClimateChange,
Pollution,
InvasiveSpecies,
Overexploitation,
Disease,
Fragmentation,
Unknown,
Custom(String),
}Variants§
HabitatLoss
ClimateChange
Pollution
InvasiveSpecies
Overexploitation
Disease
Fragmentation
Unknown
Custom(String)
Trait Implementations§
Source§impl Clone for ThreatKind
impl Clone for ThreatKind
Source§fn clone(&self) -> ThreatKind
fn clone(&self) -> ThreatKind
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 ThreatKind
impl Debug for ThreatKind
Source§impl Display for ThreatKind
impl Display for ThreatKind
Source§impl FromStr for ThreatKind
impl FromStr for ThreatKind
Source§impl Hash for ThreatKind
impl Hash for ThreatKind
Source§impl Ord for ThreatKind
impl Ord for ThreatKind
Source§fn cmp(&self, other: &ThreatKind) -> Ordering
fn cmp(&self, other: &ThreatKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ThreatKind
impl PartialEq for ThreatKind
Source§impl PartialOrd for ThreatKind
impl PartialOrd for ThreatKind
impl Eq for ThreatKind
impl StructuralPartialEq for ThreatKind
Auto Trait Implementations§
impl Freeze for ThreatKind
impl RefUnwindSafe for ThreatKind
impl Send for ThreatKind
impl Sync for ThreatKind
impl Unpin for ThreatKind
impl UnsafeUnpin for ThreatKind
impl UnwindSafe for ThreatKind
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