pub struct EnclavesToProvisionForUser {
pub user_pk: UserPk,
pub trusted_measurements: BTreeSet<Measurement>,
}Expand description
The gateway→backend form of EnclavesToProvisionRequest, carrying the
user_pk that the gateway verified from the app’s bearer auth token.
Fields§
§user_pk: UserPk§trusted_measurements: BTreeSet<Measurement>The enclave measurements the client trusts.
Trait Implementations§
Source§impl Clone for EnclavesToProvisionForUser
impl Clone for EnclavesToProvisionForUser
Source§fn clone(&self) -> EnclavesToProvisionForUser
fn clone(&self) -> EnclavesToProvisionForUser
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 moreSource§impl Debug for EnclavesToProvisionForUser
impl Debug for EnclavesToProvisionForUser
Source§impl<'de> Deserialize<'de> for EnclavesToProvisionForUser
impl<'de> Deserialize<'de> for EnclavesToProvisionForUser
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
impl Eq for EnclavesToProvisionForUser
Source§impl PartialEq for EnclavesToProvisionForUser
impl PartialEq for EnclavesToProvisionForUser
Source§fn eq(&self, other: &EnclavesToProvisionForUser) -> bool
fn eq(&self, other: &EnclavesToProvisionForUser) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnclavesToProvisionForUser
Auto Trait Implementations§
impl Freeze for EnclavesToProvisionForUser
impl RefUnwindSafe for EnclavesToProvisionForUser
impl Send for EnclavesToProvisionForUser
impl Sync for EnclavesToProvisionForUser
impl Unpin for EnclavesToProvisionForUser
impl UnsafeUnpin for EnclavesToProvisionForUser
impl UnwindSafe for EnclavesToProvisionForUser
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