pub struct ApprovalResolution {
pub approval_token_present: bool,
pub required_capabilities: Vec<String>,
pub spec_hash: String,
}Expand description
Derived approval state for a runtime spec after local credential verification.
Fields§
§approval_token_present: boolWhether the runtime may treat approval as present for policy evaluation.
required_capabilities: Vec<String>Capabilities inferred from the canonical spec that must be covered by the credential.
spec_hash: StringCanonical sha256:<hex> digest of the runtime spec used for verification.
Trait Implementations§
Source§impl Clone for ApprovalResolution
impl Clone for ApprovalResolution
Source§fn clone(&self) -> ApprovalResolution
fn clone(&self) -> ApprovalResolution
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 ApprovalResolution
impl Debug for ApprovalResolution
Source§impl PartialEq for ApprovalResolution
impl PartialEq for ApprovalResolution
impl Eq for ApprovalResolution
impl StructuralPartialEq for ApprovalResolution
Auto Trait Implementations§
impl Freeze for ApprovalResolution
impl RefUnwindSafe for ApprovalResolution
impl Send for ApprovalResolution
impl Sync for ApprovalResolution
impl Unpin for ApprovalResolution
impl UnwindSafe for ApprovalResolution
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