pub struct WrappedKey {
pub secret: String,
pub private: String,
pub data: String,
}Expand description
Key that has been wrapped.
Some cryptographic providers can export a wrapped (encrypted) key. This structure defines details of these keys.
Fields§
§secret: StringSecret value that has been wrapped.
private: StringPrivate value that has been wrapped.
data: StringEncrypted data for wrapping.
Trait Implementations§
Source§impl Debug for WrappedKey
impl Debug for WrappedKey
Source§impl<'de> Deserialize<'de> for WrappedKey
impl<'de> Deserialize<'de> for WrappedKey
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 WrappedKey
impl RefUnwindSafe for WrappedKey
impl Send for WrappedKey
impl Sync for WrappedKey
impl Unpin for WrappedKey
impl UnwindSafe for WrappedKey
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