Struct nethsm_sdk_rs::models::encrypt_data::EncryptData
source · pub struct EncryptData {
pub encrypted: String,
pub iv: String,
}Fields§
§encrypted: String§iv: StringImplementations§
source§impl EncryptData
impl EncryptData
pub fn new(encrypted: String, iv: String) -> EncryptData
Trait Implementations§
source§impl Clone for EncryptData
impl Clone for EncryptData
source§fn clone(&self) -> EncryptData
fn clone(&self) -> EncryptData
Returns a copy of the value. Read more
1.0.0 · 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 EncryptData
impl Debug for EncryptData
source§impl Default for EncryptData
impl Default for EncryptData
source§fn default() -> EncryptData
fn default() -> EncryptData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EncryptData
impl<'de> Deserialize<'de> for EncryptData
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 EncryptData
impl PartialEq for EncryptData
source§fn eq(&self, other: &EncryptData) -> bool
fn eq(&self, other: &EncryptData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EncryptData
impl Serialize for EncryptData
impl StructuralPartialEq for EncryptData
Auto Trait Implementations§
impl RefUnwindSafe for EncryptData
impl Send for EncryptData
impl Sync for EncryptData
impl Unpin for EncryptData
impl UnwindSafe for EncryptData
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