pub struct EncryptWithClassicKey {
pub display_id: String,
pub ignore_cache: Option<String>,
pub json: Option<bool>,
pub plaintext: String,
pub token: Option<String>,
pub uid_token: Option<String>,
pub version: i32,
}Fields§
§display_id: StringThe name of the key to use in the encryption process
ignore_cache: Option<String>Retrieve the Secret value without checking the Gateway’s cache [true/false]. This flag is only relevant when using the RestAPI
json: Option<bool>Set output format to JSON
plaintext: StringData to be encrypted
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
version: i32classic key version
Implementations§
Trait Implementations§
Source§impl Clone for EncryptWithClassicKey
impl Clone for EncryptWithClassicKey
Source§fn clone(&self) -> EncryptWithClassicKey
fn clone(&self) -> EncryptWithClassicKey
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 EncryptWithClassicKey
impl Debug for EncryptWithClassicKey
Source§impl Default for EncryptWithClassicKey
impl Default for EncryptWithClassicKey
Source§fn default() -> EncryptWithClassicKey
fn default() -> EncryptWithClassicKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EncryptWithClassicKey
impl<'de> Deserialize<'de> for EncryptWithClassicKey
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
Source§impl PartialEq for EncryptWithClassicKey
impl PartialEq for EncryptWithClassicKey
Source§fn eq(&self, other: &EncryptWithClassicKey) -> bool
fn eq(&self, other: &EncryptWithClassicKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EncryptWithClassicKey
impl Serialize for EncryptWithClassicKey
impl StructuralPartialEq for EncryptWithClassicKey
Auto Trait Implementations§
impl Freeze for EncryptWithClassicKey
impl RefUnwindSafe for EncryptWithClassicKey
impl Send for EncryptWithClassicKey
impl Sync for EncryptWithClassicKey
impl Unpin for EncryptWithClassicKey
impl UnsafeUnpin for EncryptWithClassicKey
impl UnwindSafe for EncryptWithClassicKey
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