pub struct ArtifactVersion {
pub digest: ContentDigest,
pub manifest: ArtifactManifest,
}Fields§
§digest: ContentDigest§manifest: ArtifactManifestImplementations§
Source§impl ArtifactVersion
impl ArtifactVersion
pub fn from_manifest(manifest: ArtifactManifest) -> Result<Self, EvolutionError>
pub fn reference(&self) -> ArtifactRef
pub fn verify_digest(&self) -> Result<(), EvolutionError>
Trait Implementations§
Source§impl Clone for ArtifactVersion
impl Clone for ArtifactVersion
Source§fn clone(&self) -> ArtifactVersion
fn clone(&self) -> ArtifactVersion
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 ArtifactVersion
impl Debug for ArtifactVersion
Source§impl<'de> Deserialize<'de> for ArtifactVersion
impl<'de> Deserialize<'de> for ArtifactVersion
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 ArtifactVersion
Source§impl PartialEq for ArtifactVersion
impl PartialEq for ArtifactVersion
Source§impl Serialize for ArtifactVersion
impl Serialize for ArtifactVersion
impl StructuralPartialEq for ArtifactVersion
Auto Trait Implementations§
impl Freeze for ArtifactVersion
impl RefUnwindSafe for ArtifactVersion
impl Send for ArtifactVersion
impl Sync for ArtifactVersion
impl Unpin for ArtifactVersion
impl UnsafeUnpin for ArtifactVersion
impl UnwindSafe for ArtifactVersion
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