pub struct PasswordStoreConfig {
pub encryption: EncryptionInfo,
pub wrapped_config: EncryptedFragment,
}Expand description
Configuration stored in _index for PasswordStore.
Fields§
§encryption: EncryptionInfoEncryption parameters (stored in plaintext in _index).
wrapped_config: EncryptedFragmentEncrypted wrapped store metadata. Contains the wrapped store’s configuration, e.g: {“type”: “docstore:v0”, “config”: “{}”}
Trait Implementations§
Source§impl Clone for PasswordStoreConfig
impl Clone for PasswordStoreConfig
Source§fn clone(&self) -> PasswordStoreConfig
fn clone(&self) -> PasswordStoreConfig
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 PasswordStoreConfig
impl Debug for PasswordStoreConfig
Source§impl<'de> Deserialize<'de> for PasswordStoreConfig
impl<'de> Deserialize<'de> for PasswordStoreConfig
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
Source§impl From<PasswordStoreConfig> for Doc
impl From<PasswordStoreConfig> for Doc
Source§fn from(config: PasswordStoreConfig) -> Doc
fn from(config: PasswordStoreConfig) -> Doc
Converts to this type from the input type.
Source§impl Serialize for PasswordStoreConfig
impl Serialize for PasswordStoreConfig
Source§impl TryFrom<&Doc> for PasswordStoreConfig
impl TryFrom<&Doc> for PasswordStoreConfig
Auto Trait Implementations§
impl Freeze for PasswordStoreConfig
impl RefUnwindSafe for PasswordStoreConfig
impl Send for PasswordStoreConfig
impl Sync for PasswordStoreConfig
impl Unpin for PasswordStoreConfig
impl UnwindSafe for PasswordStoreConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more