Enum RaidStatus
#[non_exhaustive]pub enum RaidStatus {
Ongoing,
Victory,
Loss,
Stopped,
}Expand description
Where a raid stands (Raid.RaidStatus).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ongoing
Waiting or fighting (ONGOING).
Victory
Every wave was beaten (VICTORY).
Loss
No villager is left or the time ran out (LOSS).
Stopped
Ended by stop, the /raid stop command or the raids rule (STOPPED).
Trait Implementations§
§impl Clone for RaidStatus
impl Clone for RaidStatus
§fn clone(&self) -> RaidStatus
fn clone(&self) -> RaidStatus
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 RaidStatus
§impl Debug for RaidStatus
impl Debug for RaidStatus
impl Eq for RaidStatus
§impl Hash for RaidStatus
impl Hash for RaidStatus
§impl PartialEq for RaidStatus
impl PartialEq for RaidStatus
impl StructuralPartialEq for RaidStatus
Auto Trait Implementations§
impl Freeze for RaidStatus
impl RefUnwindSafe for RaidStatus
impl Send for RaidStatus
impl Sync for RaidStatus
impl Unpin for RaidStatus
impl UnsafeUnpin for RaidStatus
impl UnwindSafe for RaidStatus
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