pub struct PassBackendConfig {
pub store_path: String,
pub path: String,
pub gpg_backend: String,
pub git_sync: bool,
pub git_auto_push: bool,
}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”
git_sync: boolAutomatically synchronize password-store Git around Passless operations
git_auto_push: boolAutomatically push password-store Git commits to the remote (default: true). When disabled, Git sync still pulls and commits changes locally.
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
Trait Implementations§
Source§impl ClapSerde for PassBackendConfig
impl ClapSerde for PassBackendConfig
Source§type Opt = ClapSerdeOptionalPassBackendConfig
type Opt = ClapSerdeOptionalPassBackendConfig
The same struct of the parent but with optional fields.
Source§fn update(&mut self, other: impl BorrowMut<Self::Opt>)
fn update(&mut self, other: impl BorrowMut<Self::Opt>)
Merge in place from Opt struct. Read more
Source§fn merge_clap(self) -> Self
fn merge_clap(self) -> Self
Merge from clap to the object.
Source§fn merge_clap_with_args<I, T>(self, itr: I) -> Self
fn merge_clap_with_args<I, T>(self, itr: I) -> Self
Merge from clap to the object with the given args
Source§fn from_clap_with_args<I, T>(itr: I) -> Self
fn from_clap_with_args<I, T>(itr: I) -> Self
Create new object parsing from clap with the given args
Source§impl Clone for PassBackendConfig
impl Clone for PassBackendConfig
Source§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 Forget for PassBackendConfig
impl Freeze for PassBackendConfig
impl Move for PassBackendConfig
impl RefUnwindSafe for PassBackendConfig
impl Send for PassBackendConfig
impl Sync for PassBackendConfig
impl Unpin for PassBackendConfig
impl UnsafeUnpin for PassBackendConfig
impl UnwindSafe for PassBackendConfig
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