pub enum DeleteScope {
Full,
LiveOnly,
}Expand description
Scope for a delete operation.
Full deletes are setup/admin owned and may remove both Frozen and Live resources. Live-only deletes are used by setup handoff resources (Terraform/CloudFormation) so Alien removes only the resources it owns before setup tears down Frozen resources.
JSON schema
{
"description": "Scope for a delete operation.\n\nFull deletes are setup/admin owned and may remove both Frozen and Live\nresources. Live-only deletes are used by setup handoff resources\n(Terraform/CloudFormation) so Alien removes only the resources it owns\nbefore setup tears down Frozen resources.",
"type": "string",
"enum": [
"full",
"liveOnly"
]
}Variants§
Trait Implementations§
Source§impl Clone for DeleteScope
impl Clone for DeleteScope
Source§fn clone(&self) -> DeleteScope
fn clone(&self) -> DeleteScope
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 DeleteScope
impl Debug for DeleteScope
Source§impl<'de> Deserialize<'de> for DeleteScope
impl<'de> Deserialize<'de> for DeleteScope
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
Source§impl Display for DeleteScope
impl Display for DeleteScope
Source§impl From<&DeleteScope> for DeleteScope
impl From<&DeleteScope> for DeleteScope
Source§fn from(value: &DeleteScope) -> Self
fn from(value: &DeleteScope) -> Self
Converts to this type from the input type.
Source§impl FromStr for DeleteScope
impl FromStr for DeleteScope
Source§impl Hash for DeleteScope
impl Hash for DeleteScope
Source§impl Ord for DeleteScope
impl Ord for DeleteScope
Source§fn cmp(&self, other: &DeleteScope) -> Ordering
fn cmp(&self, other: &DeleteScope) -> 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 DeleteScope
impl PartialEq for DeleteScope
Source§fn eq(&self, other: &DeleteScope) -> bool
fn eq(&self, other: &DeleteScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DeleteScope
impl PartialOrd for DeleteScope
Source§impl Serialize for DeleteScope
impl Serialize for DeleteScope
Source§impl TryFrom<&String> for DeleteScope
impl TryFrom<&String> for DeleteScope
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for DeleteScope
impl TryFrom<&str> for DeleteScope
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for DeleteScope
impl TryFrom<String> for DeleteScope
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for DeleteScope
impl Eq for DeleteScope
impl StructuralPartialEq for DeleteScope
Auto Trait Implementations§
impl Freeze for DeleteScope
impl RefUnwindSafe for DeleteScope
impl Send for DeleteScope
impl Sync for DeleteScope
impl Unpin for DeleteScope
impl UnsafeUnpin for DeleteScope
impl UnwindSafe for DeleteScope
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.