pub struct FreeInstanceMetadata {
pub expire_behavior: Option<String>,
pub expire_time: Option<DateTime<Utc>>,
pub upgrade_time: Option<DateTime<Utc>>,
}
Expand description
Free instance specific metadata that is kept even after an instance has been upgraded for tracking purposes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§expire_behavior: Option<String>
Specifies the expiration behavior of a free instance. The default of ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD
. This can be modified during or after creation, and before expiration.
expire_time: Option<DateTime<Utc>>
Output only. Timestamp after which the instance will either be upgraded or scheduled for deletion after a grace period. ExpireBehavior is used to choose between upgrading or scheduling the free instance for deletion. This timestamp is set during the creation of a free instance.
upgrade_time: Option<DateTime<Utc>>
Output only. If present, the timestamp at which the free instance was upgraded to a provisioned instance.
Trait Implementations§
Source§impl Clone for FreeInstanceMetadata
impl Clone for FreeInstanceMetadata
Source§fn clone(&self) -> FreeInstanceMetadata
fn clone(&self) -> FreeInstanceMetadata
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for FreeInstanceMetadata
impl Debug for FreeInstanceMetadata
Source§impl Default for FreeInstanceMetadata
impl Default for FreeInstanceMetadata
Source§fn default() -> FreeInstanceMetadata
fn default() -> FreeInstanceMetadata
Source§impl<'de> Deserialize<'de> for FreeInstanceMetadata
impl<'de> Deserialize<'de> for FreeInstanceMetadata
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>,
Source§impl Serialize for FreeInstanceMetadata
impl Serialize for FreeInstanceMetadata
impl Part for FreeInstanceMetadata
Auto Trait Implementations§
impl Freeze for FreeInstanceMetadata
impl RefUnwindSafe for FreeInstanceMetadata
impl Send for FreeInstanceMetadata
impl Sync for FreeInstanceMetadata
impl Unpin for FreeInstanceMetadata
impl UnwindSafe for FreeInstanceMetadata
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more