pub struct PoolDeleteProtectionStatus {
pub lease_id: Hash,
pub reason: String,
pub acquired_at_unix_secs: u64,
pub record_sha256: Hash,
}Expand description
One durable, non-expiring guard that keeps PoolStore writable while rejecting logical deletion. The exact catalog record identity is required to release it, preventing a stale operator command from removing a newer guard.
Fields§
§lease_id: Hash§reason: String§acquired_at_unix_secs: u64§record_sha256: HashTrait Implementations§
Source§impl Clone for PoolDeleteProtectionStatus
impl Clone for PoolDeleteProtectionStatus
Source§impl Debug for PoolDeleteProtectionStatus
impl Debug for PoolDeleteProtectionStatus
Source§impl<'de> Deserialize<'de> for PoolDeleteProtectionStatus
impl<'de> Deserialize<'de> for PoolDeleteProtectionStatus
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
impl Eq for PoolDeleteProtectionStatus
impl StructuralPartialEq for PoolDeleteProtectionStatus
Auto Trait Implementations§
impl Freeze for PoolDeleteProtectionStatus
impl RefUnwindSafe for PoolDeleteProtectionStatus
impl Send for PoolDeleteProtectionStatus
impl Sync for PoolDeleteProtectionStatus
impl Unpin for PoolDeleteProtectionStatus
impl UnsafeUnpin for PoolDeleteProtectionStatus
impl UnwindSafe for PoolDeleteProtectionStatus
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