pub enum SnapshotLifecycle {
Draft,
Published,
Deprecated,
}Variants§
Draft
Visible only through /admin; cannot be referenced or listed.
Published
Deprecated
Existing runs keep working; new runs are refused.
Trait Implementations§
Source§impl Clone for SnapshotLifecycle
impl Clone for SnapshotLifecycle
Source§fn clone(&self) -> SnapshotLifecycle
fn clone(&self) -> SnapshotLifecycle
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 SnapshotLifecycle
Source§impl Debug for SnapshotLifecycle
impl Debug for SnapshotLifecycle
Source§impl<'de> Deserialize<'de> for SnapshotLifecycle
impl<'de> Deserialize<'de> for SnapshotLifecycle
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 SnapshotLifecycle
Source§impl Ord for SnapshotLifecycle
impl Ord for SnapshotLifecycle
Source§fn cmp(&self, other: &SnapshotLifecycle) -> Ordering
fn cmp(&self, other: &SnapshotLifecycle) -> Ordering
1.21.0 (const: unstable) · 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 SnapshotLifecycle
impl PartialEq for SnapshotLifecycle
Source§impl PartialOrd for SnapshotLifecycle
impl PartialOrd for SnapshotLifecycle
Source§impl Serialize for SnapshotLifecycle
impl Serialize for SnapshotLifecycle
impl StructuralPartialEq for SnapshotLifecycle
Auto Trait Implementations§
impl Freeze for SnapshotLifecycle
impl RefUnwindSafe for SnapshotLifecycle
impl Send for SnapshotLifecycle
impl Sync for SnapshotLifecycle
impl Unpin for SnapshotLifecycle
impl UnsafeUnpin for SnapshotLifecycle
impl UnwindSafe for SnapshotLifecycle
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