Struct soup3_sys::SoupAuthClass
source · #[repr(C)]pub struct SoupAuthClass {
pub parent_class: GObjectClass,
pub scheme_name: *const c_char,
pub strength: c_uint,
pub update: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *mut SoupMessage, _: *mut GHashTable) -> gboolean>,
pub get_protection_space: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *mut GUri) -> *mut GSList>,
pub authenticate: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *const c_char, _: *const c_char)>,
pub is_authenticated: Option<unsafe extern "C" fn(_: *mut SoupAuth) -> gboolean>,
pub get_authorization: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *mut SoupMessage) -> *mut c_char>,
pub is_ready: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *mut SoupMessage) -> gboolean>,
pub can_authenticate: Option<unsafe extern "C" fn(_: *mut SoupAuth) -> gboolean>,
pub padding: [gpointer; 6],
}
Fields§
§parent_class: GObjectClass
§scheme_name: *const c_char
§strength: c_uint
§update: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *mut SoupMessage, _: *mut GHashTable) -> gboolean>
§get_protection_space: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *mut GUri) -> *mut GSList>
§authenticate: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *const c_char, _: *const c_char)>
§is_authenticated: Option<unsafe extern "C" fn(_: *mut SoupAuth) -> gboolean>
§is_ready: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *mut SoupMessage) -> gboolean>
§can_authenticate: Option<unsafe extern "C" fn(_: *mut SoupAuth) -> gboolean>
§padding: [gpointer; 6]
Trait Implementations§
source§impl Clone for SoupAuthClass
impl Clone for SoupAuthClass
source§fn clone(&self) -> SoupAuthClass
fn clone(&self) -> SoupAuthClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SoupAuthClass
impl Debug for SoupAuthClass
impl Copy for SoupAuthClass
Auto Trait Implementations§
impl Freeze for SoupAuthClass
impl RefUnwindSafe for SoupAuthClass
impl !Send for SoupAuthClass
impl !Sync for SoupAuthClass
impl Unpin for SoupAuthClass
impl UnwindSafe for SoupAuthClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)