pub struct SonicConfig {
pub detect_semantics: bool,
pub max_input_size: usize,
}
Expand description
Configuration for the sonic hybrid parser
Fields§
§detect_semantics: bool
Enable semantic type detection
max_input_size: usize
Maximum input size in bytes
Trait Implementations§
Source§impl Clone for SonicConfig
impl Clone for SonicConfig
Source§fn clone(&self) -> SonicConfig
fn clone(&self) -> SonicConfig
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 moreSource§impl Debug for SonicConfig
impl Debug for SonicConfig
Auto Trait Implementations§
impl Freeze for SonicConfig
impl RefUnwindSafe for SonicConfig
impl Send for SonicConfig
impl Sync for SonicConfig
impl Unpin for SonicConfig
impl UnwindSafe for SonicConfig
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