pub struct KeyringOptions {
pub service: String,
pub account: String,
}Expand description
Options required to access the OS keyring. The final key stored in the OS keyring uses:
- service =
{service} - user =
{account}/{id}
Fields§
§service: StringThe keyring service name (e.g. your app name).
account: StringThe keyring account name (e.g. “default”).
Trait Implementations§
Source§impl Clone for KeyringOptions
impl Clone for KeyringOptions
Source§fn clone(&self) -> KeyringOptions
fn clone(&self) -> KeyringOptions
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 KeyringOptions
impl Debug for KeyringOptions
Source§impl<'de> Deserialize<'de> for KeyringOptions
impl<'de> Deserialize<'de> for KeyringOptions
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
Auto Trait Implementations§
impl Freeze for KeyringOptions
impl RefUnwindSafe for KeyringOptions
impl Send for KeyringOptions
impl Sync for KeyringOptions
impl Unpin for KeyringOptions
impl UnsafeUnpin for KeyringOptions
impl UnwindSafe for KeyringOptions
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