Struct strong::impl_diesel::SqlStrong [−][src]
Trait Implementations
impl<'expr, Ctx: Validator> AsExpression<SqlStrong<Ctx>> for &'expr StrongBuf<Ctx>
[src]
type Expression = Bound<SqlStrong<Ctx>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<'expr2, 'expr, Ctx: Validator> AsExpression<SqlStrong<Ctx>> for &'expr2 &'expr StrongBuf<Ctx>
[src]
type Expression = Bound<SqlStrong<Ctx>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<Ctx: Validator> AsExpression<SqlStrong<Ctx>> for StrongBuf<Ctx>
[src]
type Expression = Bound<SqlStrong<Ctx>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<'expr, Ctx: Validator> AsExpression<SqlStrong<Ctx>> for &'expr Strong<Ctx>
[src]
type Expression = Bound<SqlStrong<Ctx>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<'expr2, 'expr, Ctx: Validator> AsExpression<SqlStrong<Ctx>> for &'expr2 &'expr Strong<Ctx>
[src]
type Expression = Bound<SqlStrong<Ctx>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<Ctx> Default for SqlStrong<Ctx>
[src]
impl<'a, Ctx, DB> FromSql<SqlStrong<Ctx>, DB> for StrongBuf<Ctx> where
Ctx: Validator,
Ctx::Err: Error + Send + Sync + 'static,
DB: Backend<RawValue = [u8]>,
String: FromSql<Text, DB>,
[src]
Ctx: Validator,
Ctx::Err: Error + Send + Sync + 'static,
DB: Backend<RawValue = [u8]>,
String: FromSql<Text, DB>,
impl<Ctx> NotNull for SqlStrong<Ctx>
[src]
impl<Ctx: QueryId> QueryId for SqlStrong<Ctx>
[src]
type QueryId = SqlStrong<<Ctx as QueryId>::QueryId>
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
[src]
pub fn query_id() -> Option<TypeId>
[src]
impl<Ctx> SingleValue for SqlStrong<Ctx>
[src]
impl<Ctx, DB> ToSql<SqlStrong<Ctx>, DB> for Strong<Ctx> where
Ctx: Validator + DebugTransparent,
DB: Backend,
[src]
Ctx: Validator + DebugTransparent,
DB: Backend,
impl<Ctx, DB> ToSql<SqlStrong<Ctx>, DB> for StrongBuf<Ctx> where
Ctx: Validator + DebugTransparent,
DB: Backend,
[src]
Ctx: Validator + DebugTransparent,
DB: Backend,
Auto Trait Implementations
impl<Ctx> RefUnwindSafe for SqlStrong<Ctx> where
Ctx: RefUnwindSafe,
Ctx: RefUnwindSafe,
impl<Ctx> Send for SqlStrong<Ctx> where
Ctx: Send,
Ctx: Send,
impl<Ctx> Sync for SqlStrong<Ctx> where
Ctx: Sync,
Ctx: Sync,
impl<Ctx> Unpin for SqlStrong<Ctx> where
Ctx: Unpin,
Ctx: Unpin,
impl<Ctx> UnwindSafe for SqlStrong<Ctx> where
Ctx: UnwindSafe,
Ctx: UnwindSafe,
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, 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>,