#[non_exhaustive]pub enum FunctionStatus {
Active,
Inactive,
}Expand description
Deployment status of a function version.
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
This version is the active (serving) version.
Inactive
This version has been superseded by a newer deploy.
Implementations§
Trait Implementations§
Source§impl Clone for FunctionStatus
impl Clone for FunctionStatus
Source§fn clone(&self) -> FunctionStatus
fn clone(&self) -> FunctionStatus
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 moreSource§impl Debug for FunctionStatus
impl Debug for FunctionStatus
Source§impl PartialEq for FunctionStatus
impl PartialEq for FunctionStatus
Source§fn eq(&self, other: &FunctionStatus) -> bool
fn eq(&self, other: &FunctionStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FunctionStatus
impl Eq for FunctionStatus
impl StructuralPartialEq for FunctionStatus
Auto Trait Implementations§
impl Freeze for FunctionStatus
impl RefUnwindSafe for FunctionStatus
impl Send for FunctionStatus
impl Sync for FunctionStatus
impl Unpin for FunctionStatus
impl UnsafeUnpin for FunctionStatus
impl UnwindSafe for FunctionStatus
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.