pub struct EncryptedResponse {
pub owner: String,
pub nonce: [u8; 12],
pub indices: Vec<u8>,
pub height: u64,
}Expand description
The response from the enclave for performing FMD for a particular uses
Fields§
§owner: StringHash of user’s encryption key used to identify when database entries belong to them
nonce: [u8; 12]Nonce needed to decrypt the indices
indices: Vec<u8>encrypted indices
height: u64The last height FMD was performed at
Trait Implementations§
Source§impl Clone for EncryptedResponse
impl Clone for EncryptedResponse
Source§fn clone(&self) -> EncryptedResponse
fn clone(&self) -> EncryptedResponse
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 EncryptedResponse
impl Debug for EncryptedResponse
Source§impl<'de> Deserialize<'de> for EncryptedResponse
impl<'de> Deserialize<'de> for EncryptedResponse
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 EncryptedResponse
impl RefUnwindSafe for EncryptedResponse
impl Send for EncryptedResponse
impl Sync for EncryptedResponse
impl Unpin for EncryptedResponse
impl UnwindSafe for EncryptedResponse
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