pub struct ServerEncryptedRes {
pub ciphertext: Vec<u8>,
pub pubk: Vec<u8>,
pub nonce: [u8; 12],
pub salt: [u8; 16],
}Fields§
§ciphertext: Vec<u8>§pubk: Vec<u8>§nonce: [u8; 12]§salt: [u8; 16]Trait Implementations§
Source§impl Clone for ServerEncryptedRes
impl Clone for ServerEncryptedRes
Source§fn clone(&self) -> ServerEncryptedRes
fn clone(&self) -> ServerEncryptedRes
Returns a duplicate 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 ServerEncryptedRes
impl Debug for ServerEncryptedRes
Source§impl<'de> Deserialize<'de> for ServerEncryptedRes
impl<'de> Deserialize<'de> for ServerEncryptedRes
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
Auto Trait Implementations§
impl Freeze for ServerEncryptedRes
impl RefUnwindSafe for ServerEncryptedRes
impl Send for ServerEncryptedRes
impl Sync for ServerEncryptedRes
impl Unpin for ServerEncryptedRes
impl UnwindSafe for ServerEncryptedRes
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