pub enum ExtractionResource {
Show 13 variants
InputBytes,
StructuralDepth,
AstDepth,
WorkUnits,
TreeSitterNodes,
Observations,
AccumulatedStringBytes,
SerializedOutputBytes,
StringBytesPerValue,
PortablePathBytesPerValue,
IdentifierBytesPerValue,
StructuredWallTimeMs,
TreeSitterWallTimeMs,
}Expand description
Resource charged by one extraction invocation.
Variants§
InputBytes
Source input bytes.
StructuralDepth
Structured parser nesting depth.
AstDepth
Syntax-tree nesting depth.
WorkUnits
Deterministic structured work.
TreeSitterNodes
Visited Tree-sitter nodes.
Observations
Materialized observations.
AccumulatedStringBytes
Accumulated extracted string bytes.
SerializedOutputBytes
Serialized JSON output bytes.
StringBytesPerValue
Bytes in one extracted string.
PortablePathBytesPerValue
Bytes in one portable path.
IdentifierBytesPerValue
Bytes in one identifier.
StructuredWallTimeMs
Structured extraction wall time.
TreeSitterWallTimeMs
Tree-sitter parsing and traversal wall time.
Trait Implementations§
Source§impl Clone for ExtractionResource
impl Clone for ExtractionResource
Source§fn clone(&self) -> ExtractionResource
fn clone(&self) -> ExtractionResource
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 moreimpl Copy for ExtractionResource
Source§impl Debug for ExtractionResource
impl Debug for ExtractionResource
Source§impl<'de> Deserialize<'de> for ExtractionResource
impl<'de> Deserialize<'de> for ExtractionResource
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
Source§impl Display for ExtractionResource
impl Display for ExtractionResource
impl Eq for ExtractionResource
Source§impl JsonSchema for ExtractionResource
impl JsonSchema for ExtractionResource
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 ExtractionResource
impl PartialEq for ExtractionResource
Source§impl Serialize for ExtractionResource
impl Serialize for ExtractionResource
impl StructuralPartialEq for ExtractionResource
Auto Trait Implementations§
impl Freeze for ExtractionResource
impl RefUnwindSafe for ExtractionResource
impl Send for ExtractionResource
impl Sync for ExtractionResource
impl Unpin for ExtractionResource
impl UnsafeUnpin for ExtractionResource
impl UnwindSafe for ExtractionResource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.