pub struct Detokenize {
pub ciphertext: String,
pub json: Option<bool>,
pub token: Option<String>,
pub tokenizer_name: String,
pub tweak: Option<String>,
pub uid_token: Option<String>,
}Expand description
Detokenize : detokenize is a command that decrypts text with a tokenizer
Fields§
§ciphertext: StringData to be decrypted
json: Option<bool>Set output format to JSON
token: Option<String>Authentication token (see /auth and /configure)
tokenizer_name: StringThe name of the tokenizer to use in the decryption process
tweak: Option<String>Base64 encoded tweak for vaultless encryption
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl Detokenize
impl Detokenize
Sourcepub fn new(ciphertext: String, tokenizer_name: String) -> Detokenize
pub fn new(ciphertext: String, tokenizer_name: String) -> Detokenize
detokenize is a command that decrypts text with a tokenizer
Trait Implementations§
Source§impl Clone for Detokenize
impl Clone for Detokenize
Source§fn clone(&self) -> Detokenize
fn clone(&self) -> Detokenize
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 Detokenize
impl Debug for Detokenize
Source§impl Default for Detokenize
impl Default for Detokenize
Source§fn default() -> Detokenize
fn default() -> Detokenize
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Detokenize
impl<'de> Deserialize<'de> for Detokenize
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 Detokenize
impl PartialEq for Detokenize
Source§fn eq(&self, other: &Detokenize) -> bool
fn eq(&self, other: &Detokenize) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Detokenize
impl Serialize for Detokenize
impl StructuralPartialEq for Detokenize
Auto Trait Implementations§
impl Freeze for Detokenize
impl RefUnwindSafe for Detokenize
impl Send for Detokenize
impl Sync for Detokenize
impl Unpin for Detokenize
impl UnsafeUnpin for Detokenize
impl UnwindSafe for Detokenize
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