pub struct CloneOpts {
pub url: String,
pub destination: PathBuf,
pub shallow: Option<u32>,
pub branch: Option<String>,
pub bare: bool,
}Expand description
Options for clone operation with builder pattern.
Fields§
§url: String§destination: PathBuf§shallow: Option<u32>§branch: Option<String>§bare: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CloneOpts
impl RefUnwindSafe for CloneOpts
impl Send for CloneOpts
impl Sync for CloneOpts
impl Unpin for CloneOpts
impl UnwindSafe for CloneOpts
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