Struct libsecret_sys::SecretServiceClass
source · [−]#[repr(C)]pub struct SecretServiceClass {
pub parent_class: GDBusProxyClass,
pub collection_gtype: GType,
pub item_gtype: GType,
pub prompt_sync: Option<unsafe extern "C" fn(_: *mut SecretService, _: *mut SecretPrompt, _: *mut GCancellable, _: *const GVariantType, _: *mut *mut GError) -> *mut GVariant>,
pub prompt_async: Option<unsafe extern "C" fn(_: *mut SecretService, _: *mut SecretPrompt, _: *const GVariantType, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
pub prompt_finish: Option<unsafe extern "C" fn(_: *mut SecretService, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GVariant>,
pub get_collection_gtype: Option<unsafe extern "C" fn(_: *mut SecretService) -> GType>,
pub get_item_gtype: Option<unsafe extern "C" fn(_: *mut SecretService) -> GType>,
pub padding: [gpointer; 14],
}Fields
parent_class: GDBusProxyClasscollection_gtype: GTypeitem_gtype: GTypeprompt_sync: Option<unsafe extern "C" fn(_: *mut SecretService, _: *mut SecretPrompt, _: *mut GCancellable, _: *const GVariantType, _: *mut *mut GError) -> *mut GVariant>prompt_async: Option<unsafe extern "C" fn(_: *mut SecretService, _: *mut SecretPrompt, _: *const GVariantType, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>prompt_finish: Option<unsafe extern "C" fn(_: *mut SecretService, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GVariant>get_collection_gtype: Option<unsafe extern "C" fn(_: *mut SecretService) -> GType>get_item_gtype: Option<unsafe extern "C" fn(_: *mut SecretService) -> GType>padding: [gpointer; 14]Trait Implementations
sourceimpl Clone for SecretServiceClass
impl Clone for SecretServiceClass
sourcefn clone(&self) -> SecretServiceClass
fn clone(&self) -> SecretServiceClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SecretServiceClass
impl Debug for SecretServiceClass
impl Copy for SecretServiceClass
Auto Trait Implementations
impl RefUnwindSafe for SecretServiceClass
impl !Send for SecretServiceClass
impl !Sync for SecretServiceClass
impl Unpin for SecretServiceClass
impl UnwindSafe for SecretServiceClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more