pub struct StoreResult {
pub store: String,
pub label: String,
pub secret: String,
pub account: Option<String>,
}Expand description
A recovered secret from one store (the unit of CLI output).
Fields§
§store: StringThe store kind (browser / credman / vault / wifi).
label: StringA human label for the recovered item (target / resource / “PSK” / “cookie”).
secret: StringThe recovered plaintext secret.
account: Option<String>Optional account/username context.
Trait Implementations§
Source§impl Clone for StoreResult
impl Clone for StoreResult
Source§fn clone(&self) -> StoreResult
fn clone(&self) -> StoreResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StoreResult
impl Debug for StoreResult
impl Eq for StoreResult
Source§impl PartialEq for StoreResult
impl PartialEq for StoreResult
Source§fn eq(&self, other: &StoreResult) -> bool
fn eq(&self, other: &StoreResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StoreResult
impl Serialize for StoreResult
impl StructuralPartialEq for StoreResult
Auto Trait Implementations§
impl Freeze for StoreResult
impl RefUnwindSafe for StoreResult
impl Send for StoreResult
impl Sync for StoreResult
impl Unpin for StoreResult
impl UnsafeUnpin for StoreResult
impl UnwindSafe for StoreResult
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