pub struct NormalizedConfiguratePayload {Show 14 fields
pub file_name: String,
pub base_dir: BaseDirectory,
pub dir_name: Option<String>,
pub current_path: Option<String>,
pub provider: NormalizedProvider,
pub schema_columns: Vec<SqliteColumn>,
pub data: Option<Value>,
pub keyring_entries: Option<Vec<KeyringEntry>>,
pub keyring_options: Option<KeyringOptions>,
pub keyring_delete_ids: Vec<String>,
pub with_unlock: bool,
pub return_data: bool,
pub create_if_missing: bool,
pub backup: bool,
}Expand description
Normalized payload used internally across all commands.
Fields§
§file_name: String§base_dir: BaseDirectory§dir_name: Option<String>§current_path: Option<String>§provider: NormalizedProvider§schema_columns: Vec<SqliteColumn>§data: Option<Value>§keyring_entries: Option<Vec<KeyringEntry>>§keyring_options: Option<KeyringOptions>§keyring_delete_ids: Vec<String>§with_unlock: bool§return_data: bool§create_if_missing: boolWhen true, patch creates the config if it does not exist.
backup: boolWhen true, rolling backup files are created before each write.
Trait Implementations§
Source§impl Clone for NormalizedConfiguratePayload
impl Clone for NormalizedConfiguratePayload
Source§fn clone(&self) -> NormalizedConfiguratePayload
fn clone(&self) -> NormalizedConfiguratePayload
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 moreAuto Trait Implementations§
impl Freeze for NormalizedConfiguratePayload
impl RefUnwindSafe for NormalizedConfiguratePayload
impl Send for NormalizedConfiguratePayload
impl Sync for NormalizedConfiguratePayload
impl Unpin for NormalizedConfiguratePayload
impl UnsafeUnpin for NormalizedConfiguratePayload
impl UnwindSafe for NormalizedConfiguratePayload
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