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