diesel::types

Type Alias Json

Source
pub type Json = Json;
👎Deprecated since 1.1.0: Use sql_types::Json instead

Aliased Type§

struct Json;

Trait Implementations

Source§

impl Clone for Json

Source§

fn clone(&self) -> Json

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Json

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Json

Source§

fn default() -> Json

Returns the “default value” for a type. Read more
Source§

impl QueryId for Json

Source§

const HAS_STATIC_QUERY_ID: bool = true

Can the SQL generated by Self be uniquely identified by its type? Read more
Source§

type QueryId = Json

A type which uniquely represents Self in a SQL query. Read more
Source§

fn query_id() -> Option<TypeId>

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more
Source§

impl Copy for Json

Source§

impl NotNull for Json

Source§

impl SingleValue for Json