#[repr(transparent)]pub struct JsonLexical<T: ?Sized = JsonValue>(pub T);Expand description
Wrapper around a JSON value to consider its lexical representation without regard for semantical equivalences.
Tuple Fields§
§0: TTrait Implementations§
impl<T: JsonLexicalEq> Eq for JsonLexical<T>
Source§impl<T: JsonLexicalHash> Hash for JsonLexical<T>
impl<T: JsonLexicalHash> Hash for JsonLexical<T>
Auto Trait Implementations§
impl<T> Freeze for JsonLexical<T>
impl<T> RefUnwindSafe for JsonLexical<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for JsonLexical<T>
impl<T> Sync for JsonLexical<T>
impl<T> Unpin for JsonLexical<T>
impl<T> UnsafeUnpin for JsonLexical<T>where
T: UnsafeUnpin + ?Sized,
impl<T> UnwindSafe for JsonLexical<T>where
T: UnwindSafe + ?Sized,
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<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.Source§impl<T> JsonAt for T
impl<T> JsonAt for T
Source§fn json_at<F>(
self,
location: impl Into<Vec<JsonBacktraceFrame<F>>>,
) -> JsonLocated<T, F>
fn json_at<F>( self, location: impl Into<Vec<JsonBacktraceFrame<F>>>, ) -> JsonLocated<T, F>
Pairs
self with location.