pub struct VaultStatus {
pub enabled: bool,
pub locked: bool,
pub idle_timeout_secs: Option<i64>,
pub extra: Extra,
}Expand description
GET /v1/vault/status → {enabled, locked, idle_timeout_secs}.
Fields§
§enabled: bool§locked: bool§idle_timeout_secs: Option<i64>§extra: ExtraTrait Implementations§
Source§impl Clone for VaultStatus
impl Clone for VaultStatus
Source§fn clone(&self) -> VaultStatus
fn clone(&self) -> VaultStatus
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 VaultStatus
impl Debug for VaultStatus
Source§impl Default for VaultStatus
impl Default for VaultStatus
Source§fn default() -> VaultStatus
fn default() -> VaultStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VaultStatuswhere
VaultStatus: Default,
impl<'de> Deserialize<'de> for VaultStatuswhere
VaultStatus: Default,
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 VaultStatus
impl RefUnwindSafe for VaultStatus
impl Send for VaultStatus
impl Sync for VaultStatus
impl Unpin for VaultStatus
impl UnsafeUnpin for VaultStatus
impl UnwindSafe for VaultStatus
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