Struct repr::adt::jsonb::JsonbRef [−][src]
pub struct JsonbRef<'a> {
datum: Datum<'a>,
}Fields
datum: Datum<'a>Implementations
Constructs a JsonbRef from a Datum.
Note that datum is not checked for validity. Not all Datums are
valid JSON.
Constructs an owned serde_json::Value from this JsonbRef.
Panics
Panics if this JsonbRef was constructed with a Datum that is not
representable as JSON.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for JsonbRef<'a>
impl<'a> UnwindSafe for JsonbRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}) and returns it.
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