pub struct SecretServiceResourceScope {
pub type_: String,
pub user: Option<String>,
}Expand description
Fields§
§type_: StringThe 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 Default for SecretServiceResourceScope
impl Default for SecretServiceResourceScope
Source§fn default() -> SecretServiceResourceScope
fn default() -> SecretServiceResourceScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretServiceResourceScope
impl<'de> Deserialize<'de> for SecretServiceResourceScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SecretServiceResourceScope
impl Display for SecretServiceResourceScope
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