pub struct ExtractorRun {
pub id: String,
pub snapshot_id: String,
pub repo_id: RepoId,
pub checkout_id: CheckoutId,
pub extractor: String,
pub extractor_version: String,
pub status: ExtractorRunStatus,
pub discovered_files: u64,
pub parsed_files: u64,
pub skipped_files: u64,
pub elapsed_ms: u64,
}Expand description
Persisted metrics for one extractor execution or skip decision.
Fields§
§id: StringStable run identity.
snapshot_id: StringPublished snapshot identity.
repo_id: RepoIdRepository identity.
checkout_id: CheckoutIdCheckout identity.
extractor: StringExtractor identity.
extractor_version: StringExtractor semantic version.
status: ExtractorRunStatusRun outcome.
discovered_files: u64Number of discovered files.
parsed_files: u64Number of parsed files.
skipped_files: u64Number of skipped files.
elapsed_ms: u64Bounded execution time in milliseconds.
Trait Implementations§
Source§impl Clone for ExtractorRun
impl Clone for ExtractorRun
Source§fn clone(&self) -> ExtractorRun
fn clone(&self) -> ExtractorRun
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 ExtractorRun
impl Debug for ExtractorRun
Source§impl<'de> Deserialize<'de> for ExtractorRun
impl<'de> Deserialize<'de> for ExtractorRun
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 ExtractorRun
Source§impl JsonSchema for ExtractorRun
impl JsonSchema for ExtractorRun
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 ExtractorRun
impl PartialEq for ExtractorRun
Source§impl Serialize for ExtractorRun
impl Serialize for ExtractorRun
impl StructuralPartialEq for ExtractorRun
Auto Trait Implementations§
impl Freeze for ExtractorRun
impl RefUnwindSafe for ExtractorRun
impl Send for ExtractorRun
impl Sync for ExtractorRun
impl Unpin for ExtractorRun
impl UnsafeUnpin for ExtractorRun
impl UnwindSafe for ExtractorRun
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