pub struct VerifyDataWithClassicKey {
pub data: String,
pub display_id: Option<String>,
pub hashed: Option<bool>,
pub hashing_method: Option<String>,
pub json: Option<bool>,
pub name: String,
pub signature: String,
pub token: Option<String>,
pub uid_token: Option<String>,
pub version: i32,
}Fields§
§data: StringData
display_id: Option<String>The display id of the key to use in the verification 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
json: Option<bool>Set output format to JSON
name: StringThe name of the key to use in the verification process
signature: StringThe data’s signature in a Base64 format.
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 VerifyDataWithClassicKey
impl Clone for VerifyDataWithClassicKey
Source§fn clone(&self) -> VerifyDataWithClassicKey
fn clone(&self) -> VerifyDataWithClassicKey
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 VerifyDataWithClassicKey
impl Debug for VerifyDataWithClassicKey
Source§impl Default for VerifyDataWithClassicKey
impl Default for VerifyDataWithClassicKey
Source§fn default() -> VerifyDataWithClassicKey
fn default() -> VerifyDataWithClassicKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerifyDataWithClassicKey
impl<'de> Deserialize<'de> for VerifyDataWithClassicKey
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 VerifyDataWithClassicKey
impl PartialEq for VerifyDataWithClassicKey
Source§fn eq(&self, other: &VerifyDataWithClassicKey) -> bool
fn eq(&self, other: &VerifyDataWithClassicKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VerifyDataWithClassicKey
impl Serialize for VerifyDataWithClassicKey
impl StructuralPartialEq for VerifyDataWithClassicKey
Auto Trait Implementations§
impl Freeze for VerifyDataWithClassicKey
impl RefUnwindSafe for VerifyDataWithClassicKey
impl Send for VerifyDataWithClassicKey
impl Sync for VerifyDataWithClassicKey
impl Unpin for VerifyDataWithClassicKey
impl UnsafeUnpin for VerifyDataWithClassicKey
impl UnwindSafe for VerifyDataWithClassicKey
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