pub enum Command {
Show 24 variants
ListStores,
UpsertStoreConfig(StoreConfig),
DeleteStoreConfig(String),
GetDefaultStore,
SetDefaultStore(String),
GenerateId,
GeneratePassword(PasswordGeneratorParam),
PollEvents(u64),
Status(String),
Lock(String),
Unlock {
store_name: String,
identity_id: String,
passphrase: SecretBytes,
},
Identities(String),
AddIdentity {
store_name: String,
identity: Identity,
passphrase: SecretBytes,
},
ChangePassphrase {
store_name: String,
passphrase: SecretBytes,
},
List {
store_name: String,
filter: SecretListFilter,
},
UpdateIndex(String),
Add {
store_name: String,
secret_version: SecretVersion,
},
Get {
store_name: String,
secret_id: String,
},
GetVersion {
store_name: String,
block_id: String,
},
SecretToClipboard {
store_name: String,
block_id: String,
properties: Vec<String>,
},
ClipboardIsDone,
ClipboardCurrentlyProviding,
ClipboardProvideNext,
ClipboardDestroy,
}Variants§
ListStores
UpsertStoreConfig(StoreConfig)
DeleteStoreConfig(String)
GetDefaultStore
SetDefaultStore(String)
GenerateId
GeneratePassword(PasswordGeneratorParam)
PollEvents(u64)
Status(String)
Lock(String)
Unlock
Identities(String)
AddIdentity
ChangePassphrase
List
UpdateIndex(String)
Add
Get
GetVersion
SecretToClipboard
ClipboardIsDone
ClipboardCurrentlyProviding
ClipboardProvideNext
ClipboardDestroy
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
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
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl !Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more