Struct crates_index_diff::index::CloneOptions
source · [−]pub struct CloneOptions<'a> {
pub repository_url: String,
pub fetch_options: Option<FetchOptions<'a>>,
}
Expand description
Options for use in Index::from_path_or_cloned_with_options
Fields
repository_url: String
The url from which the repository should be cloned.
fetch_options: Option<FetchOptions<'a>>
Git2 fetch options to control exactly how to clone.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CloneOptions<'a>
impl<'a> !Send for CloneOptions<'a>
impl<'a> !Sync for CloneOptions<'a>
impl<'a> Unpin for CloneOptions<'a>
impl<'a> !UnwindSafe for CloneOptions<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more