pub struct ArtifactFingerprint {
pub repo_id: RepoId,
pub checkout_id: CheckoutId,
pub path: NativePath,
pub extractor: String,
pub content_hash: String,
pub size_bytes: u64,
}Expand description
Fingerprint of one extractor-relevant artifact.
Fields§
§repo_id: RepoIdRepository containing the artifact.
checkout_id: CheckoutIdConcrete checkout containing the artifact.
path: NativePathRepository-relative native path.
extractor: StringExtractor that consumes this artifact.
content_hash: StringBLAKE3 content fingerprint.
size_bytes: u64Exact file size in bytes.
Trait Implementations§
Source§impl Clone for ArtifactFingerprint
impl Clone for ArtifactFingerprint
Source§fn clone(&self) -> ArtifactFingerprint
fn clone(&self) -> ArtifactFingerprint
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 ArtifactFingerprint
impl Debug for ArtifactFingerprint
Source§impl<'de> Deserialize<'de> for ArtifactFingerprint
impl<'de> Deserialize<'de> for ArtifactFingerprint
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 ArtifactFingerprint
Source§impl JsonSchema for ArtifactFingerprint
impl JsonSchema for ArtifactFingerprint
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ArtifactFingerprint
impl PartialEq for ArtifactFingerprint
Source§impl Serialize for ArtifactFingerprint
impl Serialize for ArtifactFingerprint
impl StructuralPartialEq for ArtifactFingerprint
Auto Trait Implementations§
impl Freeze for ArtifactFingerprint
impl RefUnwindSafe for ArtifactFingerprint
impl Send for ArtifactFingerprint
impl Sync for ArtifactFingerprint
impl Unpin for ArtifactFingerprint
impl UnsafeUnpin for ArtifactFingerprint
impl UnwindSafe for ArtifactFingerprint
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