pub enum PlanOrigin {
Manifest {
path: PathBuf,
},
Manual {
operation: FileOperationKind,
},
}Expand description
Source of a validated action plan.
Variants§
Manifest
Plan was built from a treeboot manifest.
Manual
Plan was built from a manual file operation command.
Fields
§
operation: FileOperationKindManual operation kind.
Trait Implementations§
Source§impl Clone for PlanOrigin
impl Clone for PlanOrigin
Source§fn clone(&self) -> PlanOrigin
fn clone(&self) -> PlanOrigin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlanOrigin
impl Debug for PlanOrigin
impl Eq for PlanOrigin
Source§impl PartialEq for PlanOrigin
impl PartialEq for PlanOrigin
Source§fn eq(&self, other: &PlanOrigin) -> bool
fn eq(&self, other: &PlanOrigin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlanOrigin
Auto Trait Implementations§
impl Freeze for PlanOrigin
impl RefUnwindSafe for PlanOrigin
impl Send for PlanOrigin
impl Sync for PlanOrigin
impl Unpin for PlanOrigin
impl UnsafeUnpin for PlanOrigin
impl UnwindSafe for PlanOrigin
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