pub struct ImmutableStatus {
pub enabled: bool,
pub locked: bool,
pub enforced: bool,
pub in_grace_period: bool,
pub locked_at: Option<Timestamp>,
pub grace_period_seconds: u64,
pub config_hash: Option<Hash>,
}Expand description
Status information for immutable deployment
Fields§
§enabled: boolWhether immutable mode is enabled
locked: boolWhether system is locked
enforced: boolWhether immutable restrictions are enforced
in_grace_period: boolWhether system is in grace period
locked_at: Option<Timestamp>When system was locked
grace_period_seconds: u64Grace period duration
config_hash: Option<Hash>Hash of locked configuration
Trait Implementations§
Source§impl Clone for ImmutableStatus
impl Clone for ImmutableStatus
Source§fn clone(&self) -> ImmutableStatus
fn clone(&self) -> ImmutableStatus
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 ImmutableStatus
impl Debug for ImmutableStatus
Source§impl<'de> Deserialize<'de> for ImmutableStatus
impl<'de> Deserialize<'de> for ImmutableStatus
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
Auto Trait Implementations§
impl Freeze for ImmutableStatus
impl RefUnwindSafe for ImmutableStatus
impl Send for ImmutableStatus
impl Sync for ImmutableStatus
impl Unpin for ImmutableStatus
impl UnwindSafe for ImmutableStatus
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