#[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,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.