pub struct LocalEnvelopeArtifact {Show 17 fields
pub version: u8,
pub artifact_profile: ArtifactProfile,
pub algorithm: LocalEnvelopeAlgorithm,
pub tenant_id: String,
pub raw_cid: String,
pub content_digest: String,
pub content_size_bytes: u64,
pub workload: WorkloadDescriptor,
pub resource: ResourceDescriptor,
pub purpose: Option<String>,
pub labels: Vec<String>,
pub attributes: BTreeMap<String, String>,
pub binding_targets: Vec<String>,
pub binding_hash: String,
pub nonce_b64: String,
pub aad_hash: String,
pub ciphertext_b64: String,
}Fields§
§version: u8§artifact_profile: ArtifactProfile§algorithm: LocalEnvelopeAlgorithm§tenant_id: String§raw_cid: String§content_digest: String§content_size_bytes: u64§workload: WorkloadDescriptor§resource: ResourceDescriptor§purpose: Option<String>§labels: Vec<String>§attributes: BTreeMap<String, String>§binding_targets: Vec<String>§binding_hash: String§nonce_b64: String§aad_hash: String§ciphertext_b64: StringTrait Implementations§
Source§impl Clone for LocalEnvelopeArtifact
impl Clone for LocalEnvelopeArtifact
Source§fn clone(&self) -> LocalEnvelopeArtifact
fn clone(&self) -> LocalEnvelopeArtifact
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 LocalEnvelopeArtifact
impl Debug for LocalEnvelopeArtifact
Source§impl<'de> Deserialize<'de> for LocalEnvelopeArtifact
impl<'de> Deserialize<'de> for LocalEnvelopeArtifact
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 LocalEnvelopeArtifact
impl PartialEq for LocalEnvelopeArtifact
Source§fn eq(&self, other: &LocalEnvelopeArtifact) -> bool
fn eq(&self, other: &LocalEnvelopeArtifact) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LocalEnvelopeArtifact
impl Serialize for LocalEnvelopeArtifact
impl Eq for LocalEnvelopeArtifact
impl StructuralPartialEq for LocalEnvelopeArtifact
Auto Trait Implementations§
impl Freeze for LocalEnvelopeArtifact
impl RefUnwindSafe for LocalEnvelopeArtifact
impl Send for LocalEnvelopeArtifact
impl Sync for LocalEnvelopeArtifact
impl Unpin for LocalEnvelopeArtifact
impl UnsafeUnpin for LocalEnvelopeArtifact
impl UnwindSafe for LocalEnvelopeArtifact
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