pub struct ClonePlanOptions {
pub remote: String,
pub local: PathBuf,
pub thread: Option<String>,
pub depth: Option<u32>,
pub lazy: bool,
pub filter: Option<String>,
pub recursive: bool,
pub insecure: bool,
}Expand description
Caller-supplied clone inputs for pure preflight planning.
Field names mirror the CLI heddle clone surface. Network connect,
repository init, and worktree materialization are omitted.
Fields§
§remote: String§local: PathBuf§thread: Option<String>§depth: Option<u32>Raw --depth (including Some(0)); normalized in the plan.
lazy: bool§filter: Option<String>§recursive: bool§insecure: boolCLI --insecure: allow cleartext to non-loopback hosts on network paths.
Trait Implementations§
Source§impl Clone for ClonePlanOptions
impl Clone for ClonePlanOptions
Source§fn clone(&self) -> ClonePlanOptions
fn clone(&self) -> ClonePlanOptions
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 ClonePlanOptions
impl Debug for ClonePlanOptions
impl Eq for ClonePlanOptions
Source§impl PartialEq for ClonePlanOptions
impl PartialEq for ClonePlanOptions
impl StructuralPartialEq for ClonePlanOptions
Auto Trait Implementations§
impl Freeze for ClonePlanOptions
impl RefUnwindSafe for ClonePlanOptions
impl Send for ClonePlanOptions
impl Sync for ClonePlanOptions
impl Unpin for ClonePlanOptions
impl UnsafeUnpin for ClonePlanOptions
impl UnwindSafe for ClonePlanOptions
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