pub struct InitResult {
pub db_path: Option<PathBuf>,
pub settings_path: PathBuf,
pub hooks_config: Value,
pub commands_run: Vec<String>,
}Expand description
Result of initialization.
Contains information about what was initialized and where.
Fields§
§db_path: Option<PathBuf>Path to the database (if database initialization was requested).
settings_path: PathBufPath where settings/hooks were installed.
hooks_config: ValueThe hooks configuration that was generated.
commands_run: Vec<String>Shell commands that were executed during installation.
Trait Implementations§
Source§impl Clone for InitResult
impl Clone for InitResult
Source§fn clone(&self) -> InitResult
fn clone(&self) -> InitResult
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 InitResult
impl RefUnwindSafe for InitResult
impl Send for InitResult
impl Sync for InitResult
impl Unpin for InitResult
impl UnwindSafe for InitResult
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