pub struct KeysPayload {
pub rsa: Vec<u8>,
pub master: Vec<u8>,
}Fields§
§rsa: Vec<u8>§master: Vec<u8>Implementations§
Source§impl KeysPayload
impl KeysPayload
pub fn new( master_key: &[u8], derived_encryption_key: &[u8], ) -> Result<(Self, RsaPublicKey), ClientError>
Trait Implementations§
Source§impl Clone for KeysPayload
impl Clone for KeysPayload
Source§fn clone(&self) -> KeysPayload
fn clone(&self) -> KeysPayload
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 moreAuto Trait Implementations§
impl Freeze for KeysPayload
impl RefUnwindSafe for KeysPayload
impl Send for KeysPayload
impl Sync for KeysPayload
impl Unpin for KeysPayload
impl UnsafeUnpin for KeysPayload
impl UnwindSafe for KeysPayload
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