Struct repr::adt::jsonb::Jsonb [−][src]
pub struct Jsonb {
row: Row,
}Expand description
An owned JSON value backed by a Row.
Similar to serde_json::Value, but the conversion to Row is free.
All numbers are represented as f64s. It is not possible to construct a
Jsonb from a JSON object that contains integers that cannot be represented
exactly as f64s.
Fields
row: RowImplementations
Constructs a new Jsonb from a serde_json::Value.
Errors if any of the contained integers cannot be represented exactly as
an f64.
Parses a Jsonb from a byte slice buf.
Errors if the slice is not valid JSON or if any of the contained
integers cannot be represented exactly as an f64.
Constructs a JsonbRef that references the JSON in this Jsonb.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Jsonb
impl UnwindSafe for Jsonb
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