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

ListStores
UpsertStoreConfig

Tuple Fields of UpsertStoreConfig

0: StoreConfig
DeleteStoreConfig

Tuple Fields of DeleteStoreConfig

0: String
GetDefaultStore
SetDefaultStore

Tuple Fields of SetDefaultStore

0: String
GenerateId
GeneratePassword

Tuple Fields of GeneratePassword

0: PasswordGeneratorParam
PollEvents

Tuple Fields of PollEvents

0: u64
Status

Tuple Fields of Status

0: String
Lock

Tuple Fields of Lock

0: String
Unlock

Fields of Unlock

store_name: Stringidentity_id: Stringpassphrase: SecretBytes
Identities

Tuple Fields of Identities

0: String
AddIdentity

Fields of AddIdentity

store_name: Stringidentity: Identitypassphrase: SecretBytes
ChangePassphrase

Fields of ChangePassphrase

store_name: Stringpassphrase: SecretBytes
List

Fields of List

store_name: Stringfilter: SecretListFilter
UpdateIndex

Tuple Fields of UpdateIndex

0: String
Add

Fields of Add

store_name: Stringsecret_version: SecretVersion
Get

Fields of Get

store_name: Stringsecret_id: String
GetVersion

Fields of GetVersion

store_name: Stringblock_id: String
SecretToClipboard

Fields of SecretToClipboard

store_name: Stringblock_id: Stringproperties: Vec<String>display_name: String
ClipboardIsDone
ClipboardCurrentlyProviding
ClipboardProvideNext
ClipboardDestroy

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.