pub struct AttestationPayload {
pub attestation_type: String,
pub subject: Vec<AttestationSubject>,
pub predicate_type: String,
pub predicate: ScanAttestation,
}Expand description
In-toto Statement v1 with an AgentShield predicate.
Fields§
§attestation_type: String§subject: Vec<AttestationSubject>§predicate_type: String§predicate: ScanAttestationTrait Implementations§
Source§impl Clone for AttestationPayload
impl Clone for AttestationPayload
Source§fn clone(&self) -> AttestationPayload
fn clone(&self) -> AttestationPayload
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 AttestationPayload
impl Debug for AttestationPayload
Source§impl<'de> Deserialize<'de> for AttestationPayload
impl<'de> Deserialize<'de> for AttestationPayload
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
Auto Trait Implementations§
impl Freeze for AttestationPayload
impl RefUnwindSafe for AttestationPayload
impl Send for AttestationPayload
impl Sync for AttestationPayload
impl Unpin for AttestationPayload
impl UnsafeUnpin for AttestationPayload
impl UnwindSafe for AttestationPayload
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