pub struct LocalArtifactBinding {
pub version: u8,
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,
}Fields§
§version: u8§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: StringTrait Implementations§
Source§impl Clone for LocalArtifactBinding
impl Clone for LocalArtifactBinding
Source§fn clone(&self) -> LocalArtifactBinding
fn clone(&self) -> LocalArtifactBinding
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 LocalArtifactBinding
impl Debug for LocalArtifactBinding
Source§impl<'de> Deserialize<'de> for LocalArtifactBinding
impl<'de> Deserialize<'de> for LocalArtifactBinding
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 LocalArtifactBinding
impl PartialEq for LocalArtifactBinding
Source§fn eq(&self, other: &LocalArtifactBinding) -> bool
fn eq(&self, other: &LocalArtifactBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LocalArtifactBinding
impl Serialize for LocalArtifactBinding
impl Eq for LocalArtifactBinding
impl StructuralPartialEq for LocalArtifactBinding
Auto Trait Implementations§
impl Freeze for LocalArtifactBinding
impl RefUnwindSafe for LocalArtifactBinding
impl Send for LocalArtifactBinding
impl Sync for LocalArtifactBinding
impl Unpin for LocalArtifactBinding
impl UnsafeUnpin for LocalArtifactBinding
impl UnwindSafe for LocalArtifactBinding
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