Struct block_tools::db::use_diesel::sql_types::Oid [−][src]
Trait Implementations
impl<'expr2, 'expr> AsExpression<Oid> for &'expr2 &'expr u32
[src]
type Expression = Bound<Oid, &'expr2 &'expr u32>
The expression being returned
pub fn as_expression(
self
) -> <&'expr2 &'expr u32 as AsExpression<Oid>>::Expression
[src]
self
) -> <&'expr2 &'expr u32 as AsExpression<Oid>>::Expression
impl AsExpression<Oid> for u32
[src]
type Expression = Bound<Oid, u32>
The expression being returned
pub fn as_expression(self) -> <u32 as AsExpression<Oid>>::Expression
[src]
impl<'expr> AsExpression<Oid> for &'expr u32
[src]
type Expression = Bound<Oid, &'expr u32>
The expression being returned
pub fn as_expression(self) -> <&'expr u32 as AsExpression<Oid>>::Expression
[src]
impl Clone for Oid
[src]
impl Copy for Oid
[src]
impl Debug for Oid
[src]
impl Default for Oid
[src]
impl FromSql<Oid, Pg> for u32
[src]
pub fn from_sql(
bytes: Option<&[u8]>
) -> Result<u32, Box<dyn Error + 'static + Send + Sync, Global>>
[src]
bytes: Option<&[u8]>
) -> Result<u32, Box<dyn Error + 'static + Send + Sync, Global>>
impl HasSqlType<Oid> for Pg
[src]
pub fn metadata(&PgMetadataLookup) -> PgTypeMetadata
[src]
impl NotNull for Oid
[src]
impl QueryId for Oid
[src]
type QueryId = Oid
A type which uniquely represents Self
in a SQL query. Read more
pub const HAS_STATIC_QUERY_ID: bool
[src]
pub fn query_id() -> Option<TypeId>
[src]
impl SingleValue for Oid
[src]
impl ToSql<Oid, Pg> for u32
[src]
Auto Trait Implementations
impl RefUnwindSafe for Oid
[src]
impl Send for Oid
[src]
impl Sync for Oid
[src]
impl Unpin for Oid
[src]
impl UnwindSafe for Oid
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoNullable for T where
T: NotNull,
[src]
T: NotNull,
impl<T> IntoSql for T
[src]
pub fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
pub fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,