pub struct Expectations {
pub engine_digest: String,
pub base_commit: String,
pub candidate_commit: Option<String>,
pub sealed: Option<SealedExpectations>,
}Expand description
What the wrapper expects the accepted envelope to carry: the digest of the binary it validated and launched, and the identities it asked that binary to evaluate. A wrapper can only hold an engine to what it knows it requested.
Fields§
§engine_digest: String§base_commit: String§candidate_commit: Option<String>§sealed: Option<SealedExpectations>Trait Implementations§
Source§impl Clone for Expectations
impl Clone for Expectations
Source§fn clone(&self) -> Expectations
fn clone(&self) -> Expectations
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 Expectations
impl Debug for Expectations
impl Eq for Expectations
Source§impl PartialEq for Expectations
impl PartialEq for Expectations
impl StructuralPartialEq for Expectations
Auto Trait Implementations§
impl Freeze for Expectations
impl RefUnwindSafe for Expectations
impl Send for Expectations
impl Sync for Expectations
impl Unpin for Expectations
impl UnsafeUnpin for Expectations
impl UnwindSafe for Expectations
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