pub struct SignDataWithClassicKey {
pub data: String,
pub display_id: String,
pub hashed: Option<bool>,
pub hashing_method: Option<String>,
pub ignore_cache: Option<String>,
pub json: Option<bool>,
pub name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
pub version: i32,
}Fields§
§data: StringData
display_id: StringThe name of the key to use in the sign data process
hashed: Option<bool>Defines whether the data should be hashed as part of the signing. If true, the data will not be hashed
hashing_method: Option<String>HashingMethod
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
name: StringClassicKey name
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 SignDataWithClassicKey
impl Clone for SignDataWithClassicKey
Source§fn clone(&self) -> SignDataWithClassicKey
fn clone(&self) -> SignDataWithClassicKey
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 SignDataWithClassicKey
impl Debug for SignDataWithClassicKey
Source§impl Default for SignDataWithClassicKey
impl Default for SignDataWithClassicKey
Source§fn default() -> SignDataWithClassicKey
fn default() -> SignDataWithClassicKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignDataWithClassicKey
impl<'de> Deserialize<'de> for SignDataWithClassicKey
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 SignDataWithClassicKey
impl PartialEq for SignDataWithClassicKey
Source§fn eq(&self, other: &SignDataWithClassicKey) -> bool
fn eq(&self, other: &SignDataWithClassicKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignDataWithClassicKey
impl Serialize for SignDataWithClassicKey
impl StructuralPartialEq for SignDataWithClassicKey
Auto Trait Implementations§
impl Freeze for SignDataWithClassicKey
impl RefUnwindSafe for SignDataWithClassicKey
impl Send for SignDataWithClassicKey
impl Sync for SignDataWithClassicKey
impl Unpin for SignDataWithClassicKey
impl UnsafeUnpin for SignDataWithClassicKey
impl UnwindSafe for SignDataWithClassicKey
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