pub struct Encryption {
pub text: String,
pub tag: String,
pub nonce: String,
}
Fields§
§text: String
§tag: String
§nonce: String
Trait Implementations§
Source§impl Debug for Encryption
impl Debug for Encryption
Source§impl From<Encryption> for EncryptedComment
impl From<Encryption> for EncryptedComment
Source§fn from(encryption: Encryption) -> EncryptedComment
fn from(encryption: Encryption) -> EncryptedComment
Converts to this type from the input type.
Source§impl From<Encryption> for EncryptedKey
impl From<Encryption> for EncryptedKey
Source§fn from(encryption: Encryption) -> EncryptedKey
fn from(encryption: Encryption) -> EncryptedKey
Converts to this type from the input type.
Source§impl From<Encryption> for EncryptedValue
impl From<Encryption> for EncryptedValue
Source§fn from(encryption: Encryption) -> EncryptedValue
fn from(encryption: Encryption) -> EncryptedValue
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Encryption
impl RefUnwindSafe for Encryption
impl Send for Encryption
impl Sync for Encryption
impl Unpin for Encryption
impl UnwindSafe for Encryption
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