pub struct LegacyEncryptedSecret {
pub policy: UAString,
pub secret: ByteString,
pub encryption_algorithm: UAString,
}Expand description
A generic legacy encrypted secret.
Fields§
§policy: UAStringThe user token policy the encrypted secret conforms to.
secret: ByteStringThe encrypted secret.
encryption_algorithm: UAStringThe encryption algorithm used to encrypt the secret.
Trait Implementations§
Source§impl LegacySecret for LegacyEncryptedSecret
impl LegacySecret for LegacyEncryptedSecret
Source§fn raw_secret(&self) -> &ByteString
fn raw_secret(&self) -> &ByteString
The raw encrypted secret.
Source§fn encryption_algorithm(&self) -> &UAString
fn encryption_algorithm(&self) -> &UAString
The encryption algorithm used to encrypt the secret.
Auto Trait Implementations§
impl Freeze for LegacyEncryptedSecret
impl RefUnwindSafe for LegacyEncryptedSecret
impl Send for LegacyEncryptedSecret
impl Sync for LegacyEncryptedSecret
impl Unpin for LegacyEncryptedSecret
impl UnsafeUnpin for LegacyEncryptedSecret
impl UnwindSafe for LegacyEncryptedSecret
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