Enum ruma_common::canonical_json::JsonType
source · pub enum JsonType {
Object,
String,
Integer,
Array,
Boolean,
Null,
}
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