pub struct InitResult {
pub state: InitState,
pub path: PathBuf,
pub contents: String,
pub operations: Vec<String>,
pub plan: Option<InitPlan>,
/* private fields */
}Expand description
Planned initialization or takeover output.
Fields§
§state: InitStateComputed process outcome.
path: PathBufPrimary output path.
contents: StringHuman-readable/schema-backed file contents.
operations: Vec<String>Exact operations.
plan: Option<InitPlan>Structured plan when adopting Changesets.
Implementations§
Trait Implementations§
Source§impl Clone for InitResult
impl Clone for InitResult
Auto Trait Implementations§
impl Freeze for InitResult
impl RefUnwindSafe for InitResult
impl Send for InitResult
impl Sync for InitResult
impl Unpin for InitResult
impl UnsafeUnpin 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