Struct libgit2_sys::git_remote_callbacks
source · #[repr(C)]pub struct git_remote_callbacks {Show 13 fields
pub version: c_uint,
pub sideband_progress: Option<git_transport_message_cb>,
pub completion: Option<extern "C" fn(_: git_remote_completion_type, _: *mut c_void) -> c_int>,
pub credentials: Option<git_cred_acquire_cb>,
pub certificate_check: Option<git_transport_certificate_check_cb>,
pub transfer_progress: Option<git_transfer_progress_cb>,
pub update_tips: Option<extern "C" fn(_: *const c_char, _: *const git_oid, _: *const git_oid, _: *mut c_void) -> c_int>,
pub pack_progress: Option<git_packbuilder_progress>,
pub push_transfer_progress: Option<git_push_transfer_progress>,
pub push_update_reference: Option<git_push_update_reference_cb>,
pub push_negotiation: Option<git_push_negotiation>,
pub transport: Option<git_transport_cb>,
pub payload: *mut c_void,
}
Fields
version: c_uint
sideband_progress: Option<git_transport_message_cb>
completion: Option<extern "C" fn(_: git_remote_completion_type, _: *mut c_void) -> c_int>
credentials: Option<git_cred_acquire_cb>
certificate_check: Option<git_transport_certificate_check_cb>
transfer_progress: Option<git_transfer_progress_cb>
update_tips: Option<extern "C" fn(_: *const c_char, _: *const git_oid, _: *const git_oid, _: *mut c_void) -> c_int>
pack_progress: Option<git_packbuilder_progress>
push_transfer_progress: Option<git_push_transfer_progress>
push_update_reference: Option<git_push_update_reference_cb>
push_negotiation: Option<git_push_negotiation>
transport: Option<git_transport_cb>
payload: *mut c_void
Auto Trait Implementations
impl RefUnwindSafe for git_remote_callbacks
impl !Send for git_remote_callbacks
impl !Sync for git_remote_callbacks
impl Unpin for git_remote_callbacks
impl UnwindSafe for git_remote_callbacks
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