pub enum JsonType {
Object,
String,
Integer,
Array,
Boolean,
Null,
}
Available on crate feature
canonical-json
only.Expand description
A JSON type enum for RedactionError
variants.
Variants§
Object
A JSON Object.
String
A JSON String.
Integer
A JSON Integer.
Array
A JSON Array.
Boolean
A JSON Boolean.
Null
JSON Null.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JsonType
impl RefUnwindSafe for JsonType
impl Send for JsonType
impl Sync for JsonType
impl Unpin for JsonType
impl UnwindSafe for JsonType
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