pub enum ParserScope {
Record,
Extension,
}Expand description
Scope for flatten parsing - indicates whether we’re in record or extension mode.
This determines what parse_record_or_ext() iterates over for catch-all types like HashMap.
Variants§
Record
Record scope - iterates record fields (from rec.flatten())
Extension
Extension scope - iterates extensions (from ext.flatten_ext())
Trait Implementations§
Source§impl Clone for ParserScope
impl Clone for ParserScope
Source§fn clone(&self) -> ParserScope
fn clone(&self) -> ParserScope
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 ParserScope
impl Debug for ParserScope
Source§impl PartialEq for ParserScope
impl PartialEq for ParserScope
impl Copy for ParserScope
impl Eq for ParserScope
impl StructuralPartialEq for ParserScope
Auto Trait Implementations§
impl Freeze for ParserScope
impl RefUnwindSafe for ParserScope
impl Send for ParserScope
impl Sync for ParserScope
impl Unpin for ParserScope
impl UnwindSafe for ParserScope
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> 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.