pub struct StateMetadata {
pub effective_time: Option<DateTime<Utc>>,
pub state: Option<String>,
}Expand description
The state and activation time details of the resource state.
This type is not used in any activity, and only used as part of another schema.
Fields§
§effective_time: Option<DateTime<Utc>>Output only. Accompanies only the transient states, which include ADDING, DELETING, and SUSPENDING, to denote the time until which the transient state of the resource will be effective. For instance, if the state is ADDING, this field shows the time when the resource state transitions to ACTIVE.
state: Option<String>Output only. The state of the resource.
Trait Implementations§
Source§impl Clone for StateMetadata
impl Clone for StateMetadata
Source§fn clone(&self) -> StateMetadata
fn clone(&self) -> StateMetadata
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 StateMetadata
impl Debug for StateMetadata
Source§impl Default for StateMetadata
impl Default for StateMetadata
Source§fn default() -> StateMetadata
fn default() -> StateMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StateMetadata
impl<'de> Deserialize<'de> for StateMetadata
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 Serialize for StateMetadata
impl Serialize for StateMetadata
impl Part for StateMetadata
Auto Trait Implementations§
impl Freeze for StateMetadata
impl RefUnwindSafe for StateMetadata
impl Send for StateMetadata
impl Sync for StateMetadata
impl Unpin for StateMetadata
impl UnwindSafe for StateMetadata
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