Enum t_rust_less_lib::api::Command [−][src]
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>,
display_name: String,
},
ClipboardIsDone,
ClipboardCurrentlyProviding,
ClipboardProvideNext,
ClipboardDestroy,
}
Variants
UpsertStoreConfig(StoreConfig)
Tuple Fields of UpsertStoreConfig
0: StoreConfig
DeleteStoreConfig(String)
Tuple Fields of DeleteStoreConfig
0: String
SetDefaultStore(String)
Tuple Fields of SetDefaultStore
0: String
GeneratePassword(PasswordGeneratorParam)
Tuple Fields of GeneratePassword
PollEvents(u64)
Tuple Fields of PollEvents
0: u64
Status(String)
Tuple Fields of Status
0: String
Lock(String)
Tuple Fields of Lock
0: String
Fields of Unlock
Identities(String)
Tuple Fields of Identities
0: String
Fields of AddIdentity
Fields of ChangePassphrase
store_name: String
passphrase: SecretBytes
Fields of List
store_name: String
filter: SecretListFilter
UpdateIndex(String)
Tuple Fields of UpdateIndex
0: String
Fields of Add
store_name: String
secret_version: SecretVersion
Fields of SecretToClipboard
Trait Implementations
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 RefUnwindSafe for Command
impl UnwindSafe for Command
Blanket Implementations
Mutably borrows from an owned value. Read more