pub struct KeyAttributes {
pub created_on: Option<DateTime<Utc>>,
pub enabled: Option<bool>,
pub expires_on: Option<DateTime<Utc>>,
pub not_before: Option<DateTime<Utc>>,
pub recoverable_days: Option<u8>,
pub recovery_level: Option<String>,
pub updated_on: Option<DateTime<Utc>>,
}Fields§
§created_on: Option<DateTime<Utc>>Creation time in UTC.
enabled: Option<bool>Determines whether the object is enabled.
expires_on: Option<DateTime<Utc>>Expiry date in UTC.
not_before: Option<DateTime<Utc>>Not before date in UTC.
recoverable_days: Option<u8>softDelete data retention days. Value should be >=7 and <=90 when softDelete enabled, otherwise 0.
recovery_level: Option<String>Reflects the deletion recovery level currently in effect for keys in the current vault. If it contains ‘Purgeable’ the key can be permanently deleted by a privileged user; otherwise, only the system can purge the key, at the end of the retention interval.
updated_on: Option<DateTime<Utc>>Last updated time in UTC.
Trait Implementations§
Source§impl Debug for KeyAttributes
impl Debug for KeyAttributes
Source§impl Default for KeyAttributes
impl Default for KeyAttributes
Source§fn default() -> KeyAttributes
fn default() -> KeyAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyAttributes
impl<'de> Deserialize<'de> for KeyAttributes
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 KeyAttributes
impl RefUnwindSafe for KeyAttributes
impl Send for KeyAttributes
impl Sync for KeyAttributes
impl Unpin for KeyAttributes
impl UnwindSafe for KeyAttributes
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