pub struct JsonScanOptions {
pub include_paths: Vec<String>,
pub exclude_paths: Vec<String>,
}Expand description
Options controlling which JSON paths are scanned.
Fields§
§include_paths: Vec<String>JSONPath-like paths to include. Empty means include every string.
exclude_paths: Vec<String>JSONPath-like paths to skip.
Trait Implementations§
Source§impl Clone for JsonScanOptions
impl Clone for JsonScanOptions
Source§fn clone(&self) -> JsonScanOptions
fn clone(&self) -> JsonScanOptions
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 JsonScanOptions
impl Debug for JsonScanOptions
Source§impl Default for JsonScanOptions
impl Default for JsonScanOptions
Source§fn default() -> JsonScanOptions
fn default() -> JsonScanOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JsonScanOptions
impl<'de> Deserialize<'de> for JsonScanOptions
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 PartialEq for JsonScanOptions
impl PartialEq for JsonScanOptions
Source§fn eq(&self, other: &JsonScanOptions) -> bool
fn eq(&self, other: &JsonScanOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JsonScanOptions
impl Serialize for JsonScanOptions
impl Eq for JsonScanOptions
impl StructuralPartialEq for JsonScanOptions
Auto Trait Implementations§
impl Freeze for JsonScanOptions
impl RefUnwindSafe for JsonScanOptions
impl Send for JsonScanOptions
impl Sync for JsonScanOptions
impl Unpin for JsonScanOptions
impl UnsafeUnpin for JsonScanOptions
impl UnwindSafe for JsonScanOptions
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