pub struct ContextCheckpointPolicyPinV1 {
pub policy_id: PolicyId,
pub policy_digest: Sha256Digest,
}Expand description
A policy pinned by the checkpoint.
Fields§
§policy_id: PolicyIdIdentity of the pinned policy.
policy_digest: Sha256DigestContent identity of the pinned policy document.
Implementations§
Source§impl ContextCheckpointPolicyPinV1
impl ContextCheckpointPolicyPinV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate the pinned policy identity.
Trait Implementations§
Source§impl Clone for ContextCheckpointPolicyPinV1
impl Clone for ContextCheckpointPolicyPinV1
Source§impl Debug for ContextCheckpointPolicyPinV1
impl Debug for ContextCheckpointPolicyPinV1
Source§impl<'de> Deserialize<'de> for ContextCheckpointPolicyPinV1
impl<'de> Deserialize<'de> for ContextCheckpointPolicyPinV1
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 ContextCheckpointPolicyPinV1
impl StructuralPartialEq for ContextCheckpointPolicyPinV1
Auto Trait Implementations§
impl Freeze for ContextCheckpointPolicyPinV1
impl RefUnwindSafe for ContextCheckpointPolicyPinV1
impl Send for ContextCheckpointPolicyPinV1
impl Sync for ContextCheckpointPolicyPinV1
impl Unpin for ContextCheckpointPolicyPinV1
impl UnsafeUnpin for ContextCheckpointPolicyPinV1
impl UnwindSafe for ContextCheckpointPolicyPinV1
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