Struct libsecret_sys::SecretSchema
source · [−]#[repr(C)]pub struct SecretSchema {
pub name: *const c_char,
pub flags: SecretSchemaFlags,
pub attributes: [SecretSchemaAttribute; 32],
pub reserved: c_int,
pub reserved1: gpointer,
pub reserved2: gpointer,
pub reserved3: gpointer,
pub reserved4: gpointer,
pub reserved5: gpointer,
pub reserved6: gpointer,
pub reserved7: gpointer,
}Fields
name: *const c_charflags: SecretSchemaFlagsattributes: [SecretSchemaAttribute; 32]reserved: c_intreserved1: gpointerreserved2: gpointerreserved3: gpointerreserved4: gpointerreserved5: gpointerreserved6: gpointerreserved7: gpointerTrait Implementations
sourceimpl Clone for SecretSchema
impl Clone for SecretSchema
sourcefn clone(&self) -> SecretSchema
fn clone(&self) -> SecretSchema
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 SecretSchema
impl Debug for SecretSchema
impl Copy for SecretSchema
Auto Trait Implementations
impl RefUnwindSafe for SecretSchema
impl !Send for SecretSchema
impl !Sync for SecretSchema
impl Unpin for SecretSchema
impl UnwindSafe for SecretSchema
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