#[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: GObjectClassscheme_name: *const c_charstrength: c_uintupdate: 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>get_authorization: Option<unsafe extern "C" fn(_: *mut SoupAuth, _: *mut SoupMessage) -> *mut c_char>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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.