Struct libgit2_sys::git_clone_options
source · [−]#[repr(C)]pub struct git_clone_options {
pub version: c_uint,
pub checkout_opts: git_checkout_options,
pub fetch_opts: git_fetch_options,
pub bare: c_int,
pub local: git_clone_local_t,
pub checkout_branch: *const c_char,
pub repository_cb: git_repository_create_cb,
pub repository_cb_payload: *mut c_void,
pub remote_cb: git_remote_create_cb,
pub remote_cb_payload: *mut c_void,
}
Fields
version: c_uint
checkout_opts: git_checkout_options
fetch_opts: git_fetch_options
bare: c_int
local: git_clone_local_t
checkout_branch: *const c_char
repository_cb: git_repository_create_cb
repository_cb_payload: *mut c_void
remote_cb: git_remote_create_cb
remote_cb_payload: *mut c_void
Auto Trait Implementations
impl RefUnwindSafe for git_clone_options
impl !Send for git_clone_options
impl !Sync for git_clone_options
impl Unpin for git_clone_options
impl UnwindSafe for git_clone_options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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