pub struct CapabilityPresentation {
pub grant_id: String,
pub subject: PrincipalRef,
pub artifact_handle_id: String,
pub operation_id: String,
pub variables_digest: String,
pub basis_request_digest: Option<String>,
pub nonce: String,
pub presented_at: String,
pub proof_digest: Option<String>,
}Expand description
Invocation-time presentation of a capability grant.
Fields§
§grant_id: StringGrant identity being presented.
subject: PrincipalRefPrincipal presenting the grant.
artifact_handle_id: StringEcho-owned artifact handle used for this invocation.
operation_id: StringOperation identity being invoked.
variables_digest: StringDigest of the canonical variable bytes for this invocation.
basis_request_digest: Option<String>Optional digest of the requested basis/aperture.
nonce: StringNonce preventing replay of the presentation.
presented_at: StringPresentation timestamp supplied by the caller or host.
proof_digest: Option<String>Optional digest of a proof or signature over the presentation.
Trait Implementations§
Source§impl Clone for CapabilityPresentation
impl Clone for CapabilityPresentation
Source§fn clone(&self) -> CapabilityPresentation
fn clone(&self) -> CapabilityPresentation
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 CapabilityPresentation
impl Debug for CapabilityPresentation
Source§impl<'de> Deserialize<'de> for CapabilityPresentation
impl<'de> Deserialize<'de> for CapabilityPresentation
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
Source§impl PartialEq for CapabilityPresentation
impl PartialEq for CapabilityPresentation
Source§fn eq(&self, other: &CapabilityPresentation) -> bool
fn eq(&self, other: &CapabilityPresentation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CapabilityPresentation
impl Serialize for CapabilityPresentation
impl Eq for CapabilityPresentation
impl StructuralPartialEq for CapabilityPresentation
Auto Trait Implementations§
impl Freeze for CapabilityPresentation
impl RefUnwindSafe for CapabilityPresentation
impl Send for CapabilityPresentation
impl Sync for CapabilityPresentation
impl Unpin for CapabilityPresentation
impl UnsafeUnpin for CapabilityPresentation
impl UnwindSafe for CapabilityPresentation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.