pub enum Match<'a> {
}
Expand description
Enumeration of the various different matches that can be produced during a parse
Variants§
StartOfInput
Start of the input Emitted prior to anything else
EndOfInput
End of the input Emitted after everything else
StartObject
Emitted when the start of a new object is matched
ObjectKey(Cow<'a, str>)
Emitted when a new key within an object is matched
EndObject
Emitted after an object has been fully parsed
StartArray
Emitted when the start of an array is matched
EndArray
Emitted when the end of an array is matched
String(Cow<'a, str>)
Emitted when a string is matched
Integer(i64)
Emitted when an integer is matched
Float(f64)
Emitted when a float is matched
Numeric(LazyNumeric)
Emitted when a lazily evaluated numeric is matched
Boolean(bool)
Emitted when a boolean is matched
Null
Emitted when a null is matched
Trait Implementations§
impl<'a> StructuralPartialEq for Match<'a>
Auto Trait Implementations§
impl<'a> Freeze for Match<'a>
impl<'a> RefUnwindSafe for Match<'a>
impl<'a> Send for Match<'a>
impl<'a> Sync for Match<'a>
impl<'a> Unpin for Match<'a>
impl<'a> UnwindSafe for Match<'a>
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