pub struct ClassifiedResponse {
pub shape: Shape,
pub raw_chars: usize,
pub inner_formats: Vec<InnerFormat>,
pub md_n_cols: Option<usize>,
pub md_n_rows: Option<usize>,
pub n_items: Option<usize>,
pub key_stability: Option<f32>,
pub n_fields: Option<usize>,
pub depth_max: Option<usize>,
}Expand description
Result of classifying one response.
Fields§
§shape: Shape§raw_chars: usize§inner_formats: Vec<InnerFormat>§md_n_cols: Option<usize>For markdown-table: number of columns detected in the header row.
md_n_rows: Option<usize>§n_items: Option<usize>For array_of_objects: number of elements.
key_stability: Option<f32>For array_of_objects: mean jaccard of key sets across items (0–1).
n_fields: Option<usize>For flat_object / nested_object: number of top-level keys.
depth_max: Option<usize>For nested_object: max depth of JSON nesting.
Trait Implementations§
Source§impl Clone for ClassifiedResponse
impl Clone for ClassifiedResponse
Source§fn clone(&self) -> ClassifiedResponse
fn clone(&self) -> ClassifiedResponse
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 moreAuto Trait Implementations§
impl Freeze for ClassifiedResponse
impl RefUnwindSafe for ClassifiedResponse
impl Send for ClassifiedResponse
impl Sync for ClassifiedResponse
impl Unpin for ClassifiedResponse
impl UnsafeUnpin for ClassifiedResponse
impl UnwindSafe for ClassifiedResponse
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