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 more