pub struct InitOutput {
pub path: PathBuf,
pub dry_run_content: Option<String>,
}Expand description
Output returned from init_config, carrying back info the usecase needs (e.g. dry-run content).
Fields§
§path: PathBufThe primary file path that was written (or would be written on dry-run).
dry_run_content: Option<String>TOML content that would be written; only populated when dry_run=true.
Auto Trait Implementations§
impl Freeze for InitOutput
impl RefUnwindSafe for InitOutput
impl Send for InitOutput
impl Sync for InitOutput
impl Unpin for InitOutput
impl UnsafeUnpin for InitOutput
impl UnwindSafe for InitOutput
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