pub enum RecordMode {
Literal,
Reference,
Keypair,
Totp,
}Expand description
Whether a record stores its value inline or points elsewhere.
Variants§
Literal
Value lives (encrypted) in the record.
Reference
Record is a pointer to an external provider.
Keypair
An asymmetric keypair (KOV-12): a sealed private half (optional) and an OpenSSH public half.
Totp
A TOTP enrollment (KOV-11): a sealed seed + non-secret params.
Trait Implementations§
Source§impl Clone for RecordMode
impl Clone for RecordMode
Source§fn clone(&self) -> RecordMode
fn clone(&self) -> RecordMode
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 moreimpl Copy for RecordMode
Source§impl Debug for RecordMode
impl Debug for RecordMode
Source§impl<'de> Deserialize<'de> for RecordMode
impl<'de> Deserialize<'de> for RecordMode
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
impl Eq for RecordMode
Source§impl PartialEq for RecordMode
impl PartialEq for RecordMode
Source§fn eq(&self, other: &RecordMode) -> bool
fn eq(&self, other: &RecordMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RecordMode
impl Serialize for RecordMode
impl StructuralPartialEq for RecordMode
Auto Trait Implementations§
impl Freeze for RecordMode
impl RefUnwindSafe for RecordMode
impl Send for RecordMode
impl Sync for RecordMode
impl Unpin for RecordMode
impl UnsafeUnpin for RecordMode
impl UnwindSafe for RecordMode
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