pub struct JsonFields {
pub fields: Option<Vec<String>>,
pub exclude: Vec<String>,
}Expand description
What a json input keys of its file.
Fields§
§fields: Option<Vec<String>>Only these dotted fields, or all of them.
exclude: Vec<String>Without these dotted fields.
Trait Implementations§
Source§impl Clone for JsonFields
impl Clone for JsonFields
Source§impl Debug for JsonFields
impl Debug for JsonFields
Source§impl Default for JsonFields
impl Default for JsonFields
impl Eq for JsonFields
Source§impl Ord for JsonFields
impl Ord for JsonFields
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for JsonFields
impl PartialEq for JsonFields
Source§impl PartialOrd for JsonFields
impl PartialOrd for JsonFields
impl StructuralPartialEq for JsonFields
Auto Trait Implementations§
impl Freeze for JsonFields
impl RefUnwindSafe for JsonFields
impl Send for JsonFields
impl Sync for JsonFields
impl Unpin for JsonFields
impl UnsafeUnpin for JsonFields
impl UnwindSafe for JsonFields
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.