pub struct ContextArtifactMeta {
pub artifact_id: NonEmptyString,
pub run_id: NonEmptyString,
pub step_id: Option<NonEmptyString>,
pub producer: ContextArtifactProducer,
pub created_at: NonEmptyString,
pub hash: NonEmptyString,
pub size_bytes: u64,
pub parent_artifact_id: Option<NonEmptyString>,
pub receipt_id: Option<NonEmptyString>,
pub redacted: bool,
}Expand description
Metadata for a context artifact. step_id, parent_artifact_id, and
receipt_id are required-but-nullable (present on the wire, possibly null).
Fields§
§artifact_id: NonEmptyString§run_id: NonEmptyString§step_id: Option<NonEmptyString>§producer: ContextArtifactProducer§created_at: NonEmptyString§hash: NonEmptyString§size_bytes: u64§parent_artifact_id: Option<NonEmptyString>§receipt_id: Option<NonEmptyString>§redacted: boolTrait Implementations§
Source§impl Clone for ContextArtifactMeta
impl Clone for ContextArtifactMeta
Source§fn clone(&self) -> ContextArtifactMeta
fn clone(&self) -> ContextArtifactMeta
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 ContextArtifactMeta
impl Debug for ContextArtifactMeta
Source§impl<'de> Deserialize<'de> for ContextArtifactMeta
impl<'de> Deserialize<'de> for ContextArtifactMeta
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 ContextArtifactMeta
Source§impl PartialEq for ContextArtifactMeta
impl PartialEq for ContextArtifactMeta
Source§fn eq(&self, other: &ContextArtifactMeta) -> bool
fn eq(&self, other: &ContextArtifactMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RunxSchema for ContextArtifactMeta
impl RunxSchema for ContextArtifactMeta
Source§fn json_schema() -> Value
fn json_schema() -> Value
The inlined JSON Schema for this type.
Source§impl Serialize for ContextArtifactMeta
impl Serialize for ContextArtifactMeta
impl StructuralPartialEq for ContextArtifactMeta
Auto Trait Implementations§
impl Freeze for ContextArtifactMeta
impl RefUnwindSafe for ContextArtifactMeta
impl Send for ContextArtifactMeta
impl Sync for ContextArtifactMeta
impl Unpin for ContextArtifactMeta
impl UnsafeUnpin for ContextArtifactMeta
impl UnwindSafe for ContextArtifactMeta
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