pub struct SecretServiceResourceScope {
pub type_: SecretServiceResourceScopeType,
pub user: Option<String>,
}
Fields§
§type_: SecretServiceResourceScopeType
The secret scope type.
user: Option<String>
The user ID, if type is set to “user”
Trait Implementations§
Source§impl Clone for SecretServiceResourceScope
impl Clone for SecretServiceResourceScope
Source§fn clone(&self) -> SecretServiceResourceScope
fn clone(&self) -> SecretServiceResourceScope
Returns a duplicate 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 SecretServiceResourceScope
impl Debug for SecretServiceResourceScope
Source§impl FromValueOpt for SecretServiceResourceScope
impl FromValueOpt for SecretServiceResourceScope
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for SecretServiceResourceScope
impl RefUnwindSafe for SecretServiceResourceScope
impl Send for SecretServiceResourceScope
impl Sync for SecretServiceResourceScope
impl Unpin for SecretServiceResourceScope
impl UnwindSafe for SecretServiceResourceScope
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