pub struct LifecycleInfo {
pub name: String,
pub is_provisioned: bool,
pub is_running: bool,
pub lifecycle_type: LifecycleType,
pub mode: LifecycleMode,
pub last_run: Option<DateTime<Utc>>,
}Expand description
Lifecycle policy information.
Fields§
§name: StringLifecycle policy name.
is_provisioned: boolLifecycle policy is provisioned.
is_running: boolLifecycle worker is running.
lifecycle_type: LifecycleTypeLifecycle policy action type.
mode: LifecycleModeLifecycle mode.
last_run: Option<DateTime<Utc>>Last lifecycle run timestamp.
Trait Implementations§
Source§impl Clone for LifecycleInfo
impl Clone for LifecycleInfo
Source§fn clone(&self) -> LifecycleInfo
fn clone(&self) -> LifecycleInfo
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 LifecycleInfo
impl Debug for LifecycleInfo
Source§impl<'de> Deserialize<'de> for LifecycleInfo
impl<'de> Deserialize<'de> for LifecycleInfo
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 PartialEq for LifecycleInfo
impl PartialEq for LifecycleInfo
Source§fn eq(&self, other: &LifecycleInfo) -> bool
fn eq(&self, other: &LifecycleInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LifecycleInfo
impl Serialize for LifecycleInfo
impl StructuralPartialEq for LifecycleInfo
Auto Trait Implementations§
impl Freeze for LifecycleInfo
impl RefUnwindSafe for LifecycleInfo
impl Send for LifecycleInfo
impl Sync for LifecycleInfo
impl Unpin for LifecycleInfo
impl UnsafeUnpin for LifecycleInfo
impl UnwindSafe for LifecycleInfo
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