pub struct AdoptPlanOptions {
pub path: Option<PathBuf>,
pub repo_flag: Option<PathBuf>,
pub cwd: PathBuf,
pub refs: Vec<String>,
}Expand description
Caller-supplied adopt inputs for pure path planning.
Fields§
§path: Option<PathBuf>Positional path argument.
repo_flag: Option<PathBuf>Global --repo / -C path when set.
cwd: PathBufProcess working directory (for relative → absolute resolution).
refs: Vec<String>Explicit --ref values (empty means import all local branches/tags).
Trait Implementations§
Source§impl Clone for AdoptPlanOptions
impl Clone for AdoptPlanOptions
Source§fn clone(&self) -> AdoptPlanOptions
fn clone(&self) -> AdoptPlanOptions
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 AdoptPlanOptions
impl Debug for AdoptPlanOptions
impl Eq for AdoptPlanOptions
Source§impl PartialEq for AdoptPlanOptions
impl PartialEq for AdoptPlanOptions
impl StructuralPartialEq for AdoptPlanOptions
Auto Trait Implementations§
impl Freeze for AdoptPlanOptions
impl RefUnwindSafe for AdoptPlanOptions
impl Send for AdoptPlanOptions
impl Sync for AdoptPlanOptions
impl Unpin for AdoptPlanOptions
impl UnsafeUnpin for AdoptPlanOptions
impl UnwindSafe for AdoptPlanOptions
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