pub struct ArtifactRef {
pub artifact_id: ArtifactId,
pub scheme: String,
pub uri: String,
pub sha256: Option<String>,
pub size: Option<u64>,
pub encryption: Option<ArtifactEncryption>,
}Expand description
A reference to a stored artifact produced by a task.
Fields§
§artifact_id: ArtifactIdUnique artifact identifier.
scheme: StringStorage scheme (e.g. "file", "s3").
uri: StringURI pointing to the artifact location.
sha256: Option<String>SHA-256 hash of the artifact content.
size: Option<u64>Size of the artifact in bytes.
encryption: Option<ArtifactEncryption>Encryption metadata, if the artifact is encrypted.
Trait Implementations§
Source§impl Clone for ArtifactRef
impl Clone for ArtifactRef
Source§fn clone(&self) -> ArtifactRef
fn clone(&self) -> ArtifactRef
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 ArtifactRef
impl Debug for ArtifactRef
Source§impl<'de> Deserialize<'de> for ArtifactRef
impl<'de> Deserialize<'de> for ArtifactRef
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 ArtifactRef
impl RefUnwindSafe for ArtifactRef
impl Send for ArtifactRef
impl Sync for ArtifactRef
impl Unpin for ArtifactRef
impl UnsafeUnpin for ArtifactRef
impl UnwindSafe for ArtifactRef
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