#[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§

Blanket Implementations§

Gets the TypeId of self. Read more
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.