pub struct ServiceVaultStatus {
pub unlocked: bool,
pub key_epoch: i64,
pub maintenance: bool,
}Expand description
Wire DTO for vault status as seen by the daemon.
Fields§
§unlocked: bool§key_epoch: i64Master-password rotation generation (0 = unknown/locked).
maintenance: boolTrue while the daemon serves only bootstrap/maintenance operations (no vault exists yet). serde default keeps older clients parsing.
Trait Implementations§
Source§impl Clone for ServiceVaultStatus
impl Clone for ServiceVaultStatus
Source§fn clone(&self) -> ServiceVaultStatus
fn clone(&self) -> ServiceVaultStatus
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 ServiceVaultStatus
impl Debug for ServiceVaultStatus
Source§impl<'de> Deserialize<'de> for ServiceVaultStatus
impl<'de> Deserialize<'de> for ServiceVaultStatus
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 ServiceVaultStatus
impl RefUnwindSafe for ServiceVaultStatus
impl Send for ServiceVaultStatus
impl Sync for ServiceVaultStatus
impl Unpin for ServiceVaultStatus
impl UnsafeUnpin for ServiceVaultStatus
impl UnwindSafe for ServiceVaultStatus
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