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: StoreConfigDeleteStoreConfig(String)Tuple Fields of DeleteStoreConfig
0: StringSetDefaultStore(String)Tuple Fields of SetDefaultStore
0: StringGeneratePassword(PasswordGeneratorParam)Tuple Fields of GeneratePassword
PollEvents(u64)Tuple Fields of PollEvents
0: u64Status(String)Tuple Fields of Status
0: StringLock(String)Tuple Fields of Lock
0: StringFields of Unlock
Identities(String)Tuple Fields of Identities
0: StringFields of AddIdentity
Fields of ChangePassphrase
store_name: Stringpassphrase: SecretBytesFields of List
store_name: Stringfilter: SecretListFilterUpdateIndex(String)Tuple Fields of UpdateIndex
0: StringFields of Add
store_name: Stringsecret_version: SecretVersionFields 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