Struct diesel::pg::types::sql_types::Oid [−][src]
pub struct Oid;
Trait Implementations
impl FromSql<Oid, Pg> for u32
[src]
impl FromSql<Oid, Pg> for u32
impl ToSql<Oid, Pg> for u32
[src]
impl ToSql<Oid, Pg> for u32
impl QueryId for Oid
[src]
impl QueryId for Oid
type QueryId = Oid
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self
be uniquely identified by its type? Read more
fn query_id() -> Option<TypeId>
[src]
fn query_id() -> Option<TypeId>
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
. Returns None
otherwise. Read more
impl NotNull for Oid
[src]
impl NotNull for Oid
impl SingleValue for Oid
[src]
impl SingleValue for Oid
impl HasSqlType<Oid> for Pg
[src]
impl HasSqlType<Oid> for Pg
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadata
[src]
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadata
Fetch the metadata for the given type Read more
impl Debug for Oid
[src]
impl Debug for Oid
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Oid
[src]
impl Clone for Oid
fn clone(&self) -> Oid
[src]
fn clone(&self) -> Oid
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Oid
[src]
impl Copy for Oid
impl Default for Oid
[src]
impl Default for Oid
impl<'expr> AsExpression<Oid> for &'expr u32
[src]
impl<'expr> AsExpression<Oid> for &'expr u32
type Expression = Bound<Oid, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr2, 'expr> AsExpression<Oid> for &'expr2 &'expr u32
[src]
impl<'expr2, 'expr> AsExpression<Oid> for &'expr2 &'expr u32
type Expression = Bound<Oid, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl AsExpression<Oid> for u32
[src]
impl AsExpression<Oid> for u32
type Expression = Bound<Oid, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion