Struct libgit2_sys::git_checkout_options

source ·
#[repr(C)]
pub struct git_checkout_options {
Show 20 fields pub version: c_uint, pub checkout_strategy: c_uint, pub disable_filters: c_int, pub dir_mode: c_uint, pub file_mode: c_uint, pub file_open_flags: c_int, pub notify_flags: c_uint, pub notify_cb: git_checkout_notify_cb, pub notify_payload: *mut c_void, pub progress_cb: git_checkout_progress_cb, pub progress_payload: *mut c_void, pub paths: git_strarray, pub baseline: *mut git_tree, pub baseline_index: *mut git_index, pub target_directory: *const c_char, pub ancestor_label: *const c_char, pub our_label: *const c_char, pub their_label: *const c_char, pub perfdata_cb: git_checkout_perfdata_cb, pub perfdata_payload: *mut c_void,
}

Fields§

§version: c_uint§checkout_strategy: c_uint§disable_filters: c_int§dir_mode: c_uint§file_mode: c_uint§file_open_flags: c_int§notify_flags: c_uint§notify_cb: git_checkout_notify_cb§notify_payload: *mut c_void§progress_cb: git_checkout_progress_cb§progress_payload: *mut c_void§paths: git_strarray§baseline: *mut git_tree§baseline_index: *mut git_index§target_directory: *const c_char§ancestor_label: *const c_char§our_label: *const c_char§their_label: *const c_char§perfdata_cb: git_checkout_perfdata_cb§perfdata_payload: *mut c_void

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.