pub struct PolicyRefV1 {
pub id: PolicyId,
pub version: Option<SemanticVersion>,
pub digest: Sha256Digest,
}Expand description
The exact policy that decided: identity, optional version, content digest.
Fields§
§id: PolicyId§version: Option<SemanticVersion>§digest: Sha256DigestTrait Implementations§
Source§impl Clone for PolicyRefV1
impl Clone for PolicyRefV1
Source§impl Debug for PolicyRefV1
impl Debug for PolicyRefV1
Source§impl<'de> Deserialize<'de> for PolicyRefV1
impl<'de> Deserialize<'de> for PolicyRefV1
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 PolicyRefV1
Source§impl Hash for PolicyRefV1
impl Hash for PolicyRefV1
Source§impl Ord for PolicyRefV1
impl Ord for PolicyRefV1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PolicyRefV1
impl PartialEq for PolicyRefV1
Source§impl PartialOrd for PolicyRefV1
impl PartialOrd for PolicyRefV1
Source§impl Serialize for PolicyRefV1
impl Serialize for PolicyRefV1
impl StructuralPartialEq for PolicyRefV1
Auto Trait Implementations§
impl Freeze for PolicyRefV1
impl RefUnwindSafe for PolicyRefV1
impl Send for PolicyRefV1
impl Sync for PolicyRefV1
impl Unpin for PolicyRefV1
impl UnsafeUnpin for PolicyRefV1
impl UnwindSafe for PolicyRefV1
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