pub struct ModelIdentity {
pub workload_id: String,
pub image_digests: Vec<String>,
pub kms_root_public_key: String,
}Expand description
The identity fields a ModelAttestation presents
to the policy, extracted from its info block (Decision 8).
Fields§
§workload_id: String§image_digests: Vec<String>§kms_root_public_key: StringTrait Implementations§
Source§impl Clone for ModelIdentity
impl Clone for ModelIdentity
Source§fn clone(&self) -> ModelIdentity
fn clone(&self) -> ModelIdentity
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 ModelIdentity
impl Debug for ModelIdentity
impl Eq for ModelIdentity
Source§impl PartialEq for ModelIdentity
impl PartialEq for ModelIdentity
Source§fn eq(&self, other: &ModelIdentity) -> bool
fn eq(&self, other: &ModelIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelIdentity
Auto Trait Implementations§
impl Freeze for ModelIdentity
impl RefUnwindSafe for ModelIdentity
impl Send for ModelIdentity
impl Sync for ModelIdentity
impl Unpin for ModelIdentity
impl UnsafeUnpin for ModelIdentity
impl UnwindSafe for ModelIdentity
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.