pub enum ResourceLifecycle {
Frozen,
Live,
LiveOnSetup,
}Expand description
Describes the lifecycle of a resource within a stack, determining how it’s managed and deployed.
JSON schema
{
"description": "Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.",
"type": "string",
"enum": [
"frozen",
"live",
"live-on-setup"
]
}Variants§
Trait Implementations§
Source§impl Clone for ResourceLifecycle
impl Clone for ResourceLifecycle
Source§fn clone(&self) -> ResourceLifecycle
fn clone(&self) -> ResourceLifecycle
Returns a duplicate of the value. Read more
1.0.0 · 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 ResourceLifecycle
impl Debug for ResourceLifecycle
Source§impl<'de> Deserialize<'de> for ResourceLifecycle
impl<'de> Deserialize<'de> for ResourceLifecycle
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 ResourceLifecycle
impl Display for ResourceLifecycle
Source§impl From<&ResourceLifecycle> for ResourceLifecycle
impl From<&ResourceLifecycle> for ResourceLifecycle
Source§fn from(value: &ResourceLifecycle) -> Self
fn from(value: &ResourceLifecycle) -> Self
Converts to this type from the input type.
Source§impl FromStr for ResourceLifecycle
impl FromStr for ResourceLifecycle
Source§impl Hash for ResourceLifecycle
impl Hash for ResourceLifecycle
Source§impl Ord for ResourceLifecycle
impl Ord for ResourceLifecycle
Source§fn cmp(&self, other: &ResourceLifecycle) -> Ordering
fn cmp(&self, other: &ResourceLifecycle) -> Ordering
1.21.0 · 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 ResourceLifecycle
impl PartialEq for ResourceLifecycle
Source§impl PartialOrd for ResourceLifecycle
impl PartialOrd for ResourceLifecycle
Source§impl Serialize for ResourceLifecycle
impl Serialize for ResourceLifecycle
Source§impl TryFrom<&String> for ResourceLifecycle
impl TryFrom<&String> for ResourceLifecycle
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ResourceLifecycle
impl TryFrom<&str> for ResourceLifecycle
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ResourceLifecycle
impl TryFrom<String> for ResourceLifecycle
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for ResourceLifecycle
impl Eq for ResourceLifecycle
impl StructuralPartialEq for ResourceLifecycle
Auto Trait Implementations§
impl Freeze for ResourceLifecycle
impl RefUnwindSafe for ResourceLifecycle
impl Send for ResourceLifecycle
impl Sync for ResourceLifecycle
impl Unpin for ResourceLifecycle
impl UnsafeUnpin for ResourceLifecycle
impl UnwindSafe for ResourceLifecycle
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.