#[non_exhaustive]pub struct TransitKeyInfo {Show 15 fields
pub key_type: String,
pub deletion_allowed: bool,
pub derived: bool,
pub exportable: bool,
pub allow_plaintext_backup: bool,
pub keys: HashMap<String, Value>,
pub min_decryption_version: u64,
pub min_encryption_version: u64,
pub name: String,
pub supports_encryption: bool,
pub supports_decryption: bool,
pub supports_derivation: bool,
pub supports_signing: bool,
pub auto_rotate_period: u64,
pub latest_version: u64,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key_type: String§deletion_allowed: bool§derived: bool§exportable: bool§allow_plaintext_backup: bool§keys: HashMap<String, Value>§min_decryption_version: u64§min_encryption_version: u64§name: String§supports_encryption: bool§supports_decryption: bool§supports_derivation: bool§supports_signing: bool§auto_rotate_period: u64§latest_version: u64Trait Implementations§
Source§impl Clone for TransitKeyInfo
impl Clone for TransitKeyInfo
Source§fn clone(&self) -> TransitKeyInfo
fn clone(&self) -> TransitKeyInfo
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 TransitKeyInfo
impl Debug for TransitKeyInfo
Source§impl<'de> Deserialize<'de> for TransitKeyInfo
impl<'de> Deserialize<'de> for TransitKeyInfo
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 TransitKeyInfo
impl RefUnwindSafe for TransitKeyInfo
impl Send for TransitKeyInfo
impl Sync for TransitKeyInfo
impl Unpin for TransitKeyInfo
impl UnsafeUnpin for TransitKeyInfo
impl UnwindSafe for TransitKeyInfo
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