pub struct PassBackendConfig {
pub store_path: String,
pub path: String,
pub gpg_backend: String,
}Expand description
Pass (password-store) backend configuration
Fields§
§store_path: StringPath to password store directory
path: StringRelative path within password store for FIDO2 entries
gpg_backend: StringGPG backend: “gpgme” or “gnupg-bin”
Implementations§
Source§impl PassBackendConfig
impl PassBackendConfig
Sourcepub fn field_docs() -> &'static [(&'static str, &'static str)]
pub fn field_docs() -> &'static [(&'static str, &'static str)]
Get documentation for all fields Returns an array of (field_name, documentation) tuples
Sourcepub fn struct_doc() -> &'static str
pub fn struct_doc() -> &'static str
Get struct-level documentation
Sourcepub fn to_toml_fields(&self) -> Vec<(&'static str, String)>
pub fn to_toml_fields(&self) -> Vec<(&'static str, String)>
Get field values as TOML-formatted strings
Trait Implementations§
Source§impl ClapSerde for PassBackendConfig
impl ClapSerde for PassBackendConfig
Source§impl Clone for PassBackendConfig
impl Clone for PassBackendConfig
Source§fn clone(&self) -> PassBackendConfig
fn clone(&self) -> PassBackendConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PassBackendConfig
impl Debug for PassBackendConfig
Source§impl Default for PassBackendConfig
impl Default for PassBackendConfig
Source§impl<'de> Deserialize<'de> for PassBackendConfig
impl<'de> Deserialize<'de> for PassBackendConfig
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<&mut <PassBackendConfig as ClapSerde>::Opt> for PassBackendConfig
impl From<&mut <PassBackendConfig as ClapSerde>::Opt> for PassBackendConfig
Source§impl From<<PassBackendConfig as ClapSerde>::Opt> for PassBackendConfig
impl From<<PassBackendConfig as ClapSerde>::Opt> for PassBackendConfig
Auto Trait Implementations§
impl Freeze for PassBackendConfig
impl RefUnwindSafe for PassBackendConfig
impl Send for PassBackendConfig
impl Sync for PassBackendConfig
impl Unpin for PassBackendConfig
impl UnwindSafe for PassBackendConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)