pub struct GitCloneOptions {
pub path: Option<String>,
pub branch: Option<String>,
pub depth: Option<i64>,
pub username: Option<String>,
pub password: Option<String>,
pub cwd: Option<String>,
}Expand description
Options for git.clone.
Fields§
§path: Option<String>§branch: Option<String>§depth: Option<i64>§username: Option<String>§password: Option<String>§cwd: Option<String>Trait Implementations§
Source§impl Clone for GitCloneOptions
impl Clone for GitCloneOptions
Source§fn clone(&self) -> GitCloneOptions
fn clone(&self) -> GitCloneOptions
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 Default for GitCloneOptions
impl Default for GitCloneOptions
Source§fn default() -> GitCloneOptions
fn default() -> GitCloneOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GitCloneOptions
impl RefUnwindSafe for GitCloneOptions
impl Send for GitCloneOptions
impl Sync for GitCloneOptions
impl Unpin for GitCloneOptions
impl UnsafeUnpin for GitCloneOptions
impl UnwindSafe for GitCloneOptions
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