pub enum PursuitState {
Running,
Paused,
}Expand description
Whether a pursuit is taking work right now.
Carries serde because a page renders it. The value that must not be
deserialisable is Pursuit itself — and that still is not.
Variants§
Trait Implementations§
Source§impl Clone for PursuitState
impl Clone for PursuitState
impl Copy for PursuitState
Source§impl Debug for PursuitState
impl Debug for PursuitState
Source§impl<'de> Deserialize<'de> for PursuitState
impl<'de> Deserialize<'de> for PursuitState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PursuitState
Source§impl PartialEq for PursuitState
impl PartialEq for PursuitState
Source§impl Serialize for PursuitState
impl Serialize for PursuitState
impl StructuralPartialEq for PursuitState
Auto Trait Implementations§
impl Freeze for PursuitState
impl RefUnwindSafe for PursuitState
impl Send for PursuitState
impl Sync for PursuitState
impl Unpin for PursuitState
impl UnsafeUnpin for PursuitState
impl UnwindSafe for PursuitState
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