pub struct PublishedArtifact {
pub oci_digest: String,
pub bundle_digest: String,
pub bundle_size: u64,
}Expand description
Build ArtifactRecord rows for D1 registration from upload plans.
§Errors
Returns an error when a plan’s oci_reference has no entry in
digests_by_reference — the OCI push produced no manifest digest for a
planned artifact.
A published artifact’s registry coordinates: the OCI manifest digest of
the signed artifact and the digest and size of its <tag>.bundle layer.
Fields§
§oci_digest: StringOCI manifest digest (sha256:…) of the signed artifact.
bundle_digest: StringDigest (sha256:…) of the bundle tar layer.
bundle_size: u64Size in bytes of the bundle tar.
Trait Implementations§
Source§impl Clone for PublishedArtifact
impl Clone for PublishedArtifact
Source§impl Debug for PublishedArtifact
impl Debug for PublishedArtifact
impl Eq for PublishedArtifact
Source§impl PartialEq for PublishedArtifact
impl PartialEq for PublishedArtifact
impl StructuralPartialEq for PublishedArtifact
Auto Trait Implementations§
impl Freeze for PublishedArtifact
impl RefUnwindSafe for PublishedArtifact
impl Send for PublishedArtifact
impl Sync for PublishedArtifact
impl Unpin for PublishedArtifact
impl UnsafeUnpin for PublishedArtifact
impl UnwindSafe for PublishedArtifact
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.