Enum ruma::signatures::JsonType [−][src]
pub enum JsonType {
Object,
String,
Integer,
Array,
Boolean,
Null,
}
This is supported on crate feature
signatures
only.Expand description
A JSON type enum for JsonError
variants.
Variants
A JSON Object.
A JSON String.
A JSON Integer.
A JSON Array.
A JSON Boolean.
JSON Null.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JsonType
impl UnwindSafe for JsonType
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more