pub struct ProtectedDecision {
pub allowed: bool,
pub reason: String,
pub enclave_id: Option<[u8; 32]>,
pub timestamp: u64,
pub signature: Option<Vec<u8>>,
}Expand description
Decision from protected execution
Fields§
§allowed: bool§reason: String§enclave_id: Option<[u8; 32]>§timestamp: u64§signature: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for ProtectedDecision
impl Clone for ProtectedDecision
Source§fn clone(&self) -> ProtectedDecision
fn clone(&self) -> ProtectedDecision
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 ProtectedDecision
impl Debug for ProtectedDecision
Source§impl<'de> Deserialize<'de> for ProtectedDecision
impl<'de> Deserialize<'de> for ProtectedDecision
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 ProtectedDecision
impl RefUnwindSafe for ProtectedDecision
impl Send for ProtectedDecision
impl Sync for ProtectedDecision
impl Unpin for ProtectedDecision
impl UnwindSafe for ProtectedDecision
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