pub struct JsonPathConfig {
pub max_input_bytes: Option<usize>,
pub max_depth: Option<usize>,
}Expand description
Configuration for JsonPathLanguage resource limits.
Fields§
§max_input_bytes: Option<usize>Maximum allowed input size in bytes for text-to-JSON conversion.
When None, no size limit is enforced.
max_depth: Option<usize>Maximum allowed nesting depth for JSON values.
Defaults to [DEFAULT_MAX_DEPTH] (64).
Trait Implementations§
Source§impl Clone for JsonPathConfig
impl Clone for JsonPathConfig
Source§fn clone(&self) -> JsonPathConfig
fn clone(&self) -> JsonPathConfig
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 JsonPathConfig
impl Debug for JsonPathConfig
Source§impl Default for JsonPathConfig
impl Default for JsonPathConfig
Source§fn default() -> JsonPathConfig
fn default() -> JsonPathConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JsonPathConfig
impl RefUnwindSafe for JsonPathConfig
impl Send for JsonPathConfig
impl Sync for JsonPathConfig
impl Unpin for JsonPathConfig
impl UnsafeUnpin for JsonPathConfig
impl UnwindSafe for JsonPathConfig
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