pub struct DiscoveredSchema {
pub fields: Vec<DiscoveredField>,
pub key_field_index: Option<usize>,
pub is_valid: bool,
pub validation_message: Option<String>,
}Expand description
Represents a complete discovered schema
Fields§
§fields: Vec<DiscoveredField>The discovered fields
key_field_index: Option<usize>Key field index, if detected
is_valid: boolValidation status of the schema
validation_message: Option<String>Validation message, if any
Implementations§
Trait Implementations§
Source§impl Clone for DiscoveredSchema
impl Clone for DiscoveredSchema
Source§fn clone(&self) -> DiscoveredSchema
fn clone(&self) -> DiscoveredSchema
Returns a duplicate of the value. Read more
1.0.0 · 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 DiscoveredSchema
impl RefUnwindSafe for DiscoveredSchema
impl Send for DiscoveredSchema
impl Sync for DiscoveredSchema
impl Unpin for DiscoveredSchema
impl UnwindSafe for DiscoveredSchema
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