#[non_exhaustive]pub enum ProjectState {
Active,
Gone,
Other(String),
}Expand description
What state a project is in, as Google has it.
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.
Active
It can be used.
Gone
It doesn’t exist (NOT_FOUND), or is being deleted: it can’t be used again.
Other(String)
Another state Google names (SUSPENDED…).
Trait Implementations§
Source§impl Clone for ProjectState
impl Clone for ProjectState
Source§impl Debug for ProjectState
impl Debug for ProjectState
impl Eq for ProjectState
Source§impl PartialEq for ProjectState
impl PartialEq for ProjectState
impl StructuralPartialEq for ProjectState
Auto Trait Implementations§
impl Forget for ProjectState
impl Freeze for ProjectState
impl Move for ProjectState
impl RefUnwindSafe for ProjectState
impl Send for ProjectStatewhere
RawVecInner: Send,
impl Sync for ProjectStatewhere
RawVecInner: Sync,
impl Unpin for ProjectState
impl UnsafeUnpin for ProjectState
impl UnwindSafe for ProjectStatewhere
RawVecInner: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.