Skip to main content

diesel/type_impls/
primitives.rs

1use crate::backend::Backend;
2use crate::deserialize::{self, FromSql, FromSqlRef, Queryable};
3#[cfg(feature = "std")]
4use crate::query_builder::bind_collector::RawBytesBindCollector;
5use crate::serialize::{self, Output, ToSql};
6use crate::sql_types::{
7    self, BigInt, Binary, Bool, Double, Float, Integer, SingleValue, SmallInt, Text,
8};
9use alloc::borrow::Cow;
10use alloc::borrow::ToOwned;
11use alloc::boxed::Box;
12use alloc::fmt;
13use alloc::string::String;
14use alloc::vec::Vec;
15
16#[allow(dead_code)]
17mod foreign_impls {
18    use super::*;
19    use crate::deserialize::FromSqlRow;
20
21    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<Bool> for &'__expr bool
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Bool, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Bool>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>
            for &'__expr bool {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Bool>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<Bool> for
            &'__expr2 &'__expr bool {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Bool, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Bool>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>
            for &'__expr2 &'__expr bool {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Bool>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<Bool>, __DB>
            for bool where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<Bool, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<Bool, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Bool> for
            &'__expr alloc::rc::Rc<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Bool,
                &'__expr bool>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Bool>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>
            for &'__expr alloc::rc::Rc<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Bool>,
                &'__expr bool>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Bool> for
            &'__expr alloc::sync::Arc<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Bool,
                &'__expr bool>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Bool>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>
            for &'__expr alloc::sync::Arc<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Bool>,
                &'__expr bool>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Bool> for
            &'__expr alloc::boxed::Box<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Bool,
                &'__expr bool>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Bool>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>
            for &'__expr alloc::boxed::Box<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Bool>,
                &'__expr bool>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<Bool> for bool {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Bool, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Bool>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>
            for bool {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Bool>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Bool> for alloc::rc::Rc<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Bool, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Bool>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>
            for alloc::rc::Rc<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Bool>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Bool> for alloc::sync::Arc<bool>
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Bool, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Bool>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>
            for alloc::sync::Arc<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Bool>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Bool> for
            alloc::boxed::Box<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Bool, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Bool>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>
            for alloc::boxed::Box<bool> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Bool>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Bool>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression, const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for bool
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
22    #[diesel(foreign_derive)]
23    #[diesel(sql_type = Bool)]
24    struct BoolProxy(bool);
25
26    #[derive(const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for i8
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
27    #[cfg_attr(feature = "mysql_backend", derive(const _: () =
    {
        use diesel;
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::TinyInt> for
            &'__expr i8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::TinyInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::TinyInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>
            for &'__expr i8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::TinyInt> for
            &'__expr2 &'__expr i8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::TinyInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::TinyInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>
            for &'__expr2 &'__expr i8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
            __DB> for i8 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::TinyInt, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::TinyInt,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::TinyInt> for
            &'__expr alloc::rc::Rc<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::TinyInt,
                &'__expr i8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::TinyInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>
            for &'__expr alloc::rc::Rc<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
                &'__expr i8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::TinyInt> for
            &'__expr alloc::sync::Arc<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::TinyInt,
                &'__expr i8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::TinyInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>
            for &'__expr alloc::sync::Arc<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
                &'__expr i8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::TinyInt> for
            &'__expr alloc::boxed::Box<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::TinyInt,
                &'__expr i8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::TinyInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>
            for &'__expr alloc::boxed::Box<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
                &'__expr i8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::TinyInt> for
            i8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::TinyInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::TinyInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>
            for i8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::TinyInt> for
            alloc::rc::Rc<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::TinyInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::TinyInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>
            for alloc::rc::Rc<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::TinyInt> for
            alloc::sync::Arc<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::TinyInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::TinyInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>
            for alloc::sync::Arc<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::TinyInt> for
            alloc::boxed::Box<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::TinyInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::TinyInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>
            for alloc::boxed::Box<i8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression))]
28    #[diesel(foreign_derive)]
29    #[cfg_attr(feature = "mysql_backend", diesel(sql_type = crate::sql_types::TinyInt))]
30    struct I8Proxy(i8);
31
32    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<SmallInt> for
            &'__expr i16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<SmallInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<SmallInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>
            for &'__expr i16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<SmallInt> for
            &'__expr2 &'__expr i16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<SmallInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<SmallInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>
            for &'__expr2 &'__expr i16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<SmallInt>,
            __DB> for i16 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<SmallInt, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<SmallInt, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<SmallInt> for
            &'__expr alloc::rc::Rc<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<SmallInt,
                &'__expr i16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<SmallInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>
            for &'__expr alloc::rc::Rc<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<SmallInt>,
                &'__expr i16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<SmallInt> for
            &'__expr alloc::sync::Arc<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<SmallInt,
                &'__expr i16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<SmallInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>
            for &'__expr alloc::sync::Arc<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<SmallInt>,
                &'__expr i16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<SmallInt> for
            &'__expr alloc::boxed::Box<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<SmallInt,
                &'__expr i16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<SmallInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>
            for &'__expr alloc::boxed::Box<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<SmallInt>,
                &'__expr i16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<SmallInt> for i16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<SmallInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<SmallInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>
            for i16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<SmallInt> for alloc::rc::Rc<i16>
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<SmallInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<SmallInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>
            for alloc::rc::Rc<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<SmallInt> for
            alloc::sync::Arc<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<SmallInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<SmallInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>
            for alloc::sync::Arc<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<SmallInt> for
            alloc::boxed::Box<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<SmallInt,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<SmallInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>
            for alloc::boxed::Box<i16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression, const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for i16
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
33    #[diesel(foreign_derive)]
34    #[diesel(sql_type = SmallInt)]
35    struct I16Proxy(i16);
36
37    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<Integer> for
            &'__expr i32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Integer,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Integer>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>
            for &'__expr i32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<Integer> for
            &'__expr2 &'__expr i32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Integer,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Integer>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>
            for &'__expr2 &'__expr i32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<Integer>,
            __DB> for i32 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<Integer, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<Integer, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Integer> for
            &'__expr alloc::rc::Rc<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Integer,
                &'__expr i32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Integer>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>
            for &'__expr alloc::rc::Rc<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Integer>,
                &'__expr i32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Integer> for
            &'__expr alloc::sync::Arc<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Integer,
                &'__expr i32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Integer>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>
            for &'__expr alloc::sync::Arc<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Integer>,
                &'__expr i32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Integer> for
            &'__expr alloc::boxed::Box<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Integer,
                &'__expr i32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Integer>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>
            for &'__expr alloc::boxed::Box<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Integer>,
                &'__expr i32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<Integer> for i32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Integer,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Integer>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>
            for i32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Integer> for alloc::rc::Rc<i32>
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Integer,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Integer>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>
            for alloc::rc::Rc<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Integer> for
            alloc::sync::Arc<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Integer,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Integer>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>
            for alloc::sync::Arc<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Integer> for
            alloc::boxed::Box<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Integer,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Integer>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>
            for alloc::boxed::Box<i32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression, const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for i32
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
38    #[diesel(foreign_derive)]
39    #[diesel(sql_type = Integer)]
40    struct I32Proxy(i32);
41
42    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<BigInt> for
            &'__expr i64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<BigInt, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<BigInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>
            for &'__expr i64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<BigInt> for
            &'__expr2 &'__expr i64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<BigInt, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<BigInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>
            for &'__expr2 &'__expr i64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<BigInt>,
            __DB> for i64 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<BigInt, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<BigInt, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<BigInt> for
            &'__expr alloc::rc::Rc<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<BigInt,
                &'__expr i64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<BigInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>
            for &'__expr alloc::rc::Rc<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<BigInt>,
                &'__expr i64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<BigInt> for
            &'__expr alloc::sync::Arc<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<BigInt,
                &'__expr i64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<BigInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>
            for &'__expr alloc::sync::Arc<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<BigInt>,
                &'__expr i64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<BigInt> for
            &'__expr alloc::boxed::Box<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<BigInt,
                &'__expr i64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<BigInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>
            for &'__expr alloc::boxed::Box<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<BigInt>,
                &'__expr i64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<BigInt> for i64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<BigInt, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<BigInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>
            for i64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<BigInt> for alloc::rc::Rc<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<BigInt, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<BigInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>
            for alloc::rc::Rc<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<BigInt> for
            alloc::sync::Arc<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<BigInt, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<BigInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>
            for alloc::sync::Arc<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<BigInt> for
            alloc::boxed::Box<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<BigInt, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<BigInt>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>
            for alloc::boxed::Box<i64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression, const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for i64
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
43    #[diesel(foreign_derive)]
44    #[diesel(sql_type = BigInt)]
45    struct I64Proxy(i64);
46
47    #[derive(const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for u8
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
48    #[cfg_attr(
49        any(feature = "mysql_backend", feature = "postgres_backend"),
50        derive(const _: () =
    {
        use diesel;
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>
            for &'__expr u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>
            for &'__expr u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>
            for &'__expr2 &'__expr u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>
            for &'__expr2 &'__expr u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
            __DB> for u8 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
            __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>
            for &'__expr alloc::rc::Rc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>
            for &'__expr alloc::rc::Rc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>
            for &'__expr alloc::sync::Arc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>
            for &'__expr alloc::sync::Arc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>
            for &'__expr alloc::boxed::Box<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>
            for &'__expr alloc::boxed::Box<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>
            for u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>
            for u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>
            for alloc::rc::Rc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>
            for alloc::rc::Rc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>
            for alloc::sync::Arc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>
            for alloc::sync::Arc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>
            for alloc::boxed::Box<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<crate::sql_types::TinyInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>
            for alloc::boxed::Box<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<crate::sql_types::TinyInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::CChar> for
            &'__expr u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::CChar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::CChar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>
            for &'__expr u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::CChar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::CChar> for
            &'__expr2 &'__expr u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::CChar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::CChar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>
            for &'__expr2 &'__expr u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::CChar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::CChar>,
            __DB> for u8 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::CChar, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::CChar,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::CChar> for
            &'__expr alloc::rc::Rc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::CChar,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::CChar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>
            for &'__expr alloc::rc::Rc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::CChar>,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::CChar> for
            &'__expr alloc::sync::Arc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::CChar,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::CChar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>
            for &'__expr alloc::sync::Arc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::CChar>,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::CChar> for
            &'__expr alloc::boxed::Box<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::CChar,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::CChar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>
            for &'__expr alloc::boxed::Box<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::CChar>,
                &'__expr u8>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::CChar> for u8
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::CChar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::CChar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>
            for u8 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::CChar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::CChar> for
            alloc::rc::Rc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::CChar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::CChar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>
            for alloc::rc::Rc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::CChar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::CChar> for
            alloc::sync::Arc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::CChar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::CChar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>
            for alloc::sync::Arc<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::CChar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::CChar> for
            alloc::boxed::Box<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::CChar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::CChar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>
            for alloc::boxed::Box<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::CChar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::CChar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression)
51    )]
52    #[diesel(foreign_derive)]
53    #[cfg_attr(
54        feature = "mysql_backend",
55        diesel(sql_type = crate::sql_types::Unsigned<crate::sql_types::TinyInt>)
56    )]
57    #[cfg_attr(feature = "postgres_backend", diesel(foreign_derive, sql_type = crate::sql_types::CChar))]
58    struct U8Proxy(u8);
59
60    #[derive(const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for u16
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
61    #[cfg_attr(feature = "mysql_backend", derive(const _: () =
    {
        use diesel;
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>
            for &'__expr u16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>
            for &'__expr u16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>
            for &'__expr2 &'__expr u16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>
            for &'__expr2 &'__expr u16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
            __DB> for u16 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Unsigned<SmallInt>,
            __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Unsigned<SmallInt>,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>
            for &'__expr alloc::rc::Rc<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<SmallInt>,
                &'__expr u16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>
            for &'__expr alloc::rc::Rc<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
                &'__expr u16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>
            for &'__expr alloc::sync::Arc<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<SmallInt>,
                &'__expr u16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>
            for &'__expr alloc::sync::Arc<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
                &'__expr u16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>
            for &'__expr alloc::boxed::Box<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<SmallInt>,
                &'__expr u16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>
            for &'__expr alloc::boxed::Box<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
                &'__expr u16>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>
            for u16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>
            for u16 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>
            for alloc::rc::Rc<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>
            for alloc::rc::Rc<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>
            for alloc::sync::Arc<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>
            for alloc::sync::Arc<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>
            for alloc::boxed::Box<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<SmallInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<SmallInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>
            for alloc::boxed::Box<u16> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<SmallInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression))]
62    #[diesel(foreign_derive)]
63    #[cfg_attr(feature = "mysql_backend", diesel(sql_type = crate::sql_types::Unsigned<SmallInt>))]
64    struct U16Proxy(u16);
65
66    #[derive(const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for u32
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
67    #[cfg_attr(
68        any(feature = "mysql_backend", feature = "postgres_backend"),
69        derive(const _: () =
    {
        use diesel;
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>
            for &'__expr u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>
            for &'__expr u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>
            for &'__expr2 &'__expr u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>
            for &'__expr2 &'__expr u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
            __DB> for u32 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Unsigned<Integer>,
            __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Unsigned<Integer>,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>
            for &'__expr alloc::rc::Rc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<Integer>,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>
            for &'__expr alloc::rc::Rc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>
            for &'__expr alloc::sync::Arc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<Integer>,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>
            for &'__expr alloc::sync::Arc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>
            for &'__expr alloc::boxed::Box<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<Integer>,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>
            for &'__expr alloc::boxed::Box<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>
            for u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>
            for u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>
            for alloc::rc::Rc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>
            for alloc::rc::Rc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>
            for alloc::sync::Arc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>
            for alloc::sync::Arc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>
            for alloc::boxed::Box<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<Integer>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<Integer>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>
            for alloc::boxed::Box<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<Integer>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Oid>
            for &'__expr u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Oid,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Oid>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>
            for &'__expr u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Oid>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Oid> for
            &'__expr2 &'__expr u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Oid,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Oid>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>
            for &'__expr2 &'__expr u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Oid>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Oid>,
            __DB> for u32 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Oid, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Oid,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Oid>
            for &'__expr alloc::rc::Rc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Oid,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Oid>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>
            for &'__expr alloc::rc::Rc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Oid>,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Oid>
            for &'__expr alloc::sync::Arc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Oid,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Oid>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>
            for &'__expr alloc::sync::Arc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Oid>,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Oid>
            for &'__expr alloc::boxed::Box<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Oid,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Oid>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>
            for &'__expr alloc::boxed::Box<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Oid>,
                &'__expr u32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Oid> for u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Oid,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Oid>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>
            for u32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Oid>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Oid> for
            alloc::rc::Rc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Oid,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Oid>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>
            for alloc::rc::Rc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Oid>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Oid> for
            alloc::sync::Arc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Oid,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Oid>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>
            for alloc::sync::Arc<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Oid>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Oid> for
            alloc::boxed::Box<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Oid,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Oid>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>
            for alloc::boxed::Box<u32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Oid>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Oid>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression)
70    )]
71    #[diesel(foreign_derive)]
72    #[cfg_attr(feature = "mysql_backend", diesel(sql_type = crate::sql_types::Unsigned<Integer>))]
73    #[cfg_attr(feature = "postgres_backend", diesel(sql_type = crate::sql_types::Oid))]
74    struct U32Proxy(u32);
75
76    #[derive(const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for u64
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
77    #[cfg_attr(feature = "mysql_backend", derive(const _: () =
    {
        use diesel;
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>
            for &'__expr u64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>
            for &'__expr u64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>
            for &'__expr2 &'__expr u64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>
            for &'__expr2 &'__expr u64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
            __DB> for u64 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Unsigned<BigInt>,
            __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Unsigned<BigInt>,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>
            for &'__expr alloc::rc::Rc<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<BigInt>,
                &'__expr u64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>
            for &'__expr alloc::rc::Rc<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
                &'__expr u64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>
            for &'__expr alloc::sync::Arc<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<BigInt>,
                &'__expr u64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>
            for &'__expr alloc::sync::Arc<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
                &'__expr u64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>
            for &'__expr alloc::boxed::Box<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<BigInt>,
                &'__expr u64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>
            for &'__expr alloc::boxed::Box<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
                &'__expr u64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>
            for u64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>
            for u64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>
            for alloc::rc::Rc<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>
            for alloc::rc::Rc<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>
            for alloc::sync::Arc<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>
            for alloc::sync::Arc<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>
            for alloc::boxed::Box<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Unsigned<BigInt>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Unsigned<BigInt>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>
            for alloc::boxed::Box<u64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Unsigned<BigInt>>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression))]
78    #[diesel(foreign_derive)]
79    #[cfg_attr(feature = "mysql_backend", diesel(sql_type = crate::sql_types::Unsigned<BigInt>))]
80    struct U64Proxy(u64);
81
82    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<Float> for &'__expr f32
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Float, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Float>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>
            for &'__expr f32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Float>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<Float> for
            &'__expr2 &'__expr f32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Float, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Float>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>
            for &'__expr2 &'__expr f32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Float>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<Float>, __DB>
            for f32 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<Float, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<Float, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Float> for
            &'__expr alloc::rc::Rc<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Float,
                &'__expr f32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Float>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>
            for &'__expr alloc::rc::Rc<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Float>,
                &'__expr f32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Float> for
            &'__expr alloc::sync::Arc<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Float,
                &'__expr f32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Float>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>
            for &'__expr alloc::sync::Arc<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Float>,
                &'__expr f32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Float> for
            &'__expr alloc::boxed::Box<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Float,
                &'__expr f32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Float>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>
            for &'__expr alloc::boxed::Box<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Float>,
                &'__expr f32>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<Float> for f32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Float, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Float>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>
            for f32 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Float>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Float> for alloc::rc::Rc<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Float, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Float>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>
            for alloc::rc::Rc<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Float>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Float> for alloc::sync::Arc<f32>
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Float, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Float>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>
            for alloc::sync::Arc<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Float>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Float> for
            alloc::boxed::Box<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Float, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Float>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>
            for alloc::boxed::Box<f32> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Float>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Float>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression, const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for f32
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
83    #[diesel(foreign_derive)]
84    #[diesel(sql_type = Float)]
85    struct F32Proxy(f32);
86
87    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<Double> for
            &'__expr f64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Double, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Double>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>
            for &'__expr f64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Double>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<Double> for
            &'__expr2 &'__expr f64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Double, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Double>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>
            for &'__expr2 &'__expr f64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Double>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<Double>,
            __DB> for f64 where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<Double, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<Double, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Double> for
            &'__expr alloc::rc::Rc<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Double,
                &'__expr f64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Double>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>
            for &'__expr alloc::rc::Rc<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Double>,
                &'__expr f64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Double> for
            &'__expr alloc::sync::Arc<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Double,
                &'__expr f64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Double>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>
            for &'__expr alloc::sync::Arc<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Double>,
                &'__expr f64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Double> for
            &'__expr alloc::boxed::Box<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Double,
                &'__expr f64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Double>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>
            for &'__expr alloc::boxed::Box<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Double>,
                &'__expr f64>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<Double> for f64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Double, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Double>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>
            for f64 {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Double>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Double> for alloc::rc::Rc<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Double, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Double>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>
            for alloc::rc::Rc<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Double>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Double> for
            alloc::sync::Arc<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Double, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Double>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>
            for alloc::sync::Arc<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Double>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Double> for
            alloc::boxed::Box<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Double, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Double>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>
            for alloc::boxed::Box<f64> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Double>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Double>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression, const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for f64
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
88    #[diesel(foreign_derive)]
89    #[diesel(sql_type = Double)]
90    struct F64Proxy(f64);
91
92    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<Text> for
            &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<Text> for
            &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<Text>, __DB>
            for String where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<Text, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<Text, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Text> for
            &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Text> for
            &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Text> for
            &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<Text> for String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Text> for alloc::rc::Rc<String>
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Text> for
            alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Text> for
            alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Date>
            for &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Date> for
            &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Date>,
            __DB> for String where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Date, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Date,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Date>
            for &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Date>
            for &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Date>
            for &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Date> for
            String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Date> for
            alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Date> for
            alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Date> for
            alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Time>
            for &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Time> for
            &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Time>,
            __DB> for String where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Time, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Time,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Time>
            for &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Time>
            for &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Time>
            for &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Time> for
            String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Time> for
            alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Time> for
            alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Time> for
            alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
            __DB> for String where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Timestamp, __DB>
            {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Timestamp,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Citext>,
            __DB> for String where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Citext, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Citext,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Citext> for
            String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Citext> for
            alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Citext> for
            alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Citext> for
            alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr2 &'__expr String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
            __DB> for String where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::pg::sql_types::Bpchar, __DB>
            {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::pg::sql_types::Bpchar,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                &'__expr String>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>
            for String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for String {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>
            for alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for alloc::rc::Rc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>
            for alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for alloc::sync::Arc<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>
            for alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for alloc::boxed::Box<String> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression, const _: () =
    {
        use diesel;
        impl<__DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for String
            where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
93    #[diesel(foreign_derive)]
94    #[diesel(sql_type = Text)]
95    #[cfg_attr(feature = "__sqlite-shared", diesel(sql_type = crate::sql_types::Date))]
96    #[cfg_attr(feature = "__sqlite-shared", diesel(sql_type = crate::sql_types::Time))]
97    #[cfg_attr(feature = "__sqlite-shared", diesel(sql_type = crate::sql_types::Timestamp))]
98    #[cfg_attr(feature = "postgres_backend", diesel(sql_type = crate::sql_types::Citext))]
99    #[cfg_attr(feature = "postgres_backend", diesel(sql_type = crate::pg::sql_types::Bpchar))]
100    struct StringProxy(String);
101
102    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<Text> for &'__expr str
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<Text> for
            &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<Text>, __DB>
            for str where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<Text, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<Text, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Text> for
            &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Text> for
            &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Text> for
            &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<Text> for alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Text> for alloc::sync::Arc<str>
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Text> for alloc::boxed::Box<str>
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Text, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Text>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>
            for alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Text>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Text>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Date>
            for &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Date> for
            &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Date>,
            __DB> for str where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Date, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Date,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Date>
            for &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Date>
            for &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Date>
            for &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Date> for
            alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Date> for
            alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Date> for
            alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Date,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Date>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>
            for alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Date>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Date>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Time>
            for &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Time> for
            &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Time>,
            __DB> for str where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Time, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Time,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Time>
            for &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Time>
            for &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<crate::sql_types::Time>
            for &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Time> for
            alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Time> for
            alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Time> for
            alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Time,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Time>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>
            for alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Time>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Time>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
            __DB> for str where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Timestamp, __DB>
            {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Timestamp,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Timestamp> for
            alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Timestamp,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Timestamp>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>
            for alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Timestamp>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Timestamp>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::sql_types::Citext>,
            __DB> for str where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::sql_types::Citext, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::sql_types::Citext,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::sql_types::Citext> for
            &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Citext> for
            alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Citext> for
            alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::sql_types::Citext> for
            alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::sql_types::Citext,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::sql_types::Citext>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>
            for alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::sql_types::Citext>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::sql_types::Citext>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<'__expr>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr2 &'__expr str {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
            __DB> for str where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<crate::pg::sql_types::Bpchar, __DB>
            {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<crate::pg::sql_types::Bpchar,
                        __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<crate::pg::sql_types::Bpchar> for
            &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for &'__expr alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                &'__expr str>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>
            for alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for alloc::rc::Rc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>
            for alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for alloc::sync::Arc<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>
            for alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<crate::pg::sql_types::Bpchar,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<crate::pg::sql_types::Bpchar>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>
            for alloc::boxed::Box<str> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<crate::pg::sql_types::Bpchar>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression)]
103    #[diesel(foreign_derive, not_sized)]
104    #[diesel(sql_type = Text)]
105    #[cfg_attr(feature = "__sqlite-shared", diesel(sql_type = crate::sql_types::Date))]
106    #[cfg_attr(feature = "__sqlite-shared", diesel(sql_type = crate::sql_types::Time))]
107    #[cfg_attr(feature = "__sqlite-shared", diesel(sql_type = crate::sql_types::Timestamp))]
108    #[cfg_attr(feature = "postgres_backend", diesel(sql_type = crate::sql_types::Citext))]
109    #[cfg_attr(feature = "postgres_backend", diesel(sql_type = crate::pg::sql_types::Bpchar))]
110    struct StrProxy(str);
111
112    #[derive(const _: () =
    {
        use diesel;
        impl<T, __DB, __ST> diesel::deserialize::Queryable<__ST, __DB> for
            Vec<T> where __DB: diesel::backend::Backend,
            __ST: diesel::sql_types::SingleValue,
            Self: diesel::deserialize::FromSql<__ST, __DB> {
            type Row = Self;
            fn build(row: Self) -> diesel::deserialize::Result<Self> {
                diesel::deserialize::Result::Ok(row)
            }
        }
    };FromSqlRow)]
113    #[diesel(foreign_derive)]
114    struct VecProxy<T>(Vec<T>);
115
116    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<Binary> for
            &'__expr Vec<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr Vec<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<Binary> for
            &'__expr2 &'__expr Vec<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr2 &'__expr Vec<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<Binary>,
            __DB> for Vec<u8> where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<Binary, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<Binary, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Binary> for
            &'__expr alloc::rc::Rc<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary,
                &'__expr Vec<u8>>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr alloc::rc::Rc<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                &'__expr Vec<u8>>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Binary> for
            &'__expr alloc::sync::Arc<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary,
                &'__expr Vec<u8>>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr alloc::sync::Arc<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                &'__expr Vec<u8>>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Binary> for
            &'__expr alloc::boxed::Box<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary,
                &'__expr Vec<u8>>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr alloc::boxed::Box<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                &'__expr Vec<u8>>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<Binary> for Vec<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for Vec<u8> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Binary> for
            alloc::rc::Rc<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for alloc::rc::Rc<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Binary> for
            alloc::sync::Arc<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for alloc::sync::Arc<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Binary> for
            alloc::boxed::Box<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for alloc::boxed::Box<Vec<u8>> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression)]
117    #[diesel(foreign_derive)]
118    #[diesel(sql_type = Binary)]
119    struct BinaryVecProxy(Vec<u8>);
120
121    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr> diesel::expression::AsExpression<Binary> for
            &'__expr [u8] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr [u8] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2> diesel::expression::AsExpression<Binary> for
            &'__expr2 &'__expr [u8] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr2 &'__expr [u8] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<__DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<Binary>,
            __DB> for [u8] where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<Binary, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<Binary, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Binary> for
            &'__expr alloc::rc::Rc<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary,
                &'__expr [u8]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr alloc::rc::Rc<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                &'__expr [u8]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Binary> for
            &'__expr alloc::sync::Arc<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary,
                &'__expr [u8]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr alloc::sync::Arc<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                &'__expr [u8]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr> diesel::expression::AsExpression<Binary> for
            &'__expr alloc::boxed::Box<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary,
                &'__expr [u8]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr alloc::boxed::Box<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                &'__expr [u8]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl diesel::expression::AsExpression<Binary> for alloc::rc::Rc<[u8]>
            {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for alloc::rc::Rc<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Binary> for
            alloc::sync::Arc<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for alloc::sync::Arc<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl diesel::expression::AsExpression<Binary> for
            alloc::boxed::Box<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for alloc::boxed::Box<[u8]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression)]
122    #[diesel(foreign_derive, not_sized)]
123    #[diesel(sql_type = Binary)]
124    struct BinarySliceProxy([u8]);
125
126    #[derive(const _: () =
    {
        use diesel;
        impl<'__expr, const N : usize>
            diesel::expression::AsExpression<Binary> for &'__expr [u8; N] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, const N : usize>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr [u8; N] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2, const N : usize>
            diesel::expression::AsExpression<Binary> for
            &'__expr2 &'__expr [u8; N] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, '__expr2, const N : usize>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr2 &'__expr [u8; N] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<const N : usize, __DB>
            diesel::serialize::ToSql<diesel::sql_types::Nullable<Binary>,
            __DB> for [u8; N] where __DB: diesel::backend::Backend,
            Self: diesel::serialize::ToSql<Binary, __DB> {
            fn to_sql<'__b>(&'__b self,
                out: &mut diesel::serialize::Output<'__b, '_, __DB>)
                -> diesel::serialize::Result {
                diesel::serialize::ToSql::<Binary, __DB>::to_sql(self, out)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, const N : usize>
            diesel::expression::AsExpression<Binary> for
            &'__expr alloc::rc::Rc<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary,
                &'__expr [u8; N]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, const N : usize>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr alloc::rc::Rc<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                &'__expr [u8; N]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, const N : usize>
            diesel::expression::AsExpression<Binary> for
            &'__expr alloc::sync::Arc<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary,
                &'__expr [u8; N]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, const N : usize>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr alloc::sync::Arc<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                &'__expr [u8; N]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, const N : usize>
            diesel::expression::AsExpression<Binary> for
            &'__expr alloc::boxed::Box<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary,
                &'__expr [u8; N]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<'__expr, const N : usize>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for &'__expr alloc::boxed::Box<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                &'__expr [u8; N]>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(&**self)
            }
        }
        impl<const N : usize> diesel::expression::AsExpression<Binary> for
            [u8; N] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<const N : usize>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for [u8; N] {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<const N : usize> diesel::expression::AsExpression<Binary> for
            alloc::rc::Rc<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<const N : usize>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for alloc::rc::Rc<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<const N : usize> diesel::expression::AsExpression<Binary> for
            alloc::sync::Arc<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<const N : usize>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for alloc::sync::Arc<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        impl<const N : usize> diesel::expression::AsExpression<Binary> for
            alloc::boxed::Box<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<Binary, Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<Binary>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
        #[diagnostic::do_not_recommend]
        impl<const N : usize>
            diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>
            for alloc::boxed::Box<[u8; N]> {
            type Expression =
                diesel::internal::derives::as_expression::Bound<diesel::sql_types::Nullable<Binary>,
                Self>;
            fn as_expression(self)
                ->
                    <Self as
                    diesel::expression::AsExpression<diesel::sql_types::Nullable<Binary>>>::Expression {
                diesel::internal::derives::as_expression::Bound::new(self)
            }
        }
    };AsExpression)]
127    #[diesel(foreign_derive)]
128    #[diesel(sql_type = Binary)]
129    struct BinaryArrayProxy<const N: usize>([u8; N]);
130}
131
132#[diagnostic::do_not_recommend]
133impl<ST, DB> FromSql<ST, DB> for String
134where
135    DB: Backend,
136    for<'a> &'a str: FromSqlRef<'a, ST, DB>,
137{
138    fn from_sql(mut bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
139        <&str as FromSqlRef<'_, ST, DB>>::from_sql(&mut bytes).map(|v| v.to_owned())
140    }
141}
142
143#[cfg(feature = "std")]
144impl<DB> ToSql<sql_types::Text, DB> for str
145where
146    for<'a> DB: Backend<BindCollector<'a> = RawBytesBindCollector<DB>>,
147{
148    fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
149        use alloc::boxed::Box;
150        use std::io::Write;
151
152        out.write_all(self.as_bytes())
153            .map(|_| crate::serialize::IsNull::No)
154            .map_err(|e| Box::new(e) as Box<dyn core::error::Error + Send + Sync>)
155    }
156}
157
158impl<DB> ToSql<sql_types::Text, DB> for String
159where
160    DB: Backend,
161    str: ToSql<sql_types::Text, DB>,
162{
163    fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
164        (self as &str).to_sql(out)
165    }
166}
167
168impl<ST, DB> FromSql<ST, DB> for Vec<u8>
169where
170    DB: Backend,
171    for<'a> &'a [u8]: FromSqlRef<'a, ST, DB>,
172{
173    fn from_sql(mut bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
174        <&[u8] as FromSqlRef<'_, ST, DB>>::from_sql(&mut bytes).map(|v| v.to_owned())
175    }
176}
177
178impl<DB> ToSql<sql_types::Binary, DB> for Vec<u8>
179where
180    DB: Backend,
181    [u8]: ToSql<sql_types::Binary, DB>,
182{
183    fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
184        (self as &[u8]).to_sql(out)
185    }
186}
187
188impl<DB, const N: usize> ToSql<sql_types::Binary, DB> for [u8; N]
189where
190    DB: Backend,
191    [u8]: ToSql<sql_types::Binary, DB>,
192{
193    fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
194        self.as_slice().to_sql(out)
195    }
196}
197
198#[cfg(feature = "std")]
199impl<DB> ToSql<sql_types::Binary, DB> for [u8]
200where
201    for<'a> DB: Backend<BindCollector<'a> = RawBytesBindCollector<DB>>,
202{
203    fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
204        use alloc::boxed::Box;
205        use std::io::Write;
206
207        out.write_all(self)
208            .map(|_| crate::serialize::IsNull::No)
209            .map_err(|e| Box::new(e) as Box<dyn core::error::Error + Send + Sync>)
210    }
211}
212
213impl<'a, T: ?Sized, ST, DB> ToSql<ST, DB> for Cow<'a, T>
214where
215    T: 'a + ToOwned + ToSql<ST, DB>,
216    DB: Backend,
217    Self: fmt::Debug,
218{
219    fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
220        ToSql::<ST, DB>::to_sql(&**self, out)
221    }
222}
223
224impl<'a, T: ?Sized, ST, DB> FromSql<ST, DB> for Cow<'a, T>
225where
226    T: 'a + ToOwned,
227    DB: Backend,
228    T::Owned: FromSql<ST, DB>,
229{
230    fn from_sql(bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
231        T::Owned::from_sql(bytes).map(Cow::Owned)
232    }
233}
234
235impl<'a, T: ?Sized, ST, DB> Queryable<ST, DB> for Cow<'a, T>
236where
237    T: 'a + ToOwned,
238    ST: SingleValue,
239    DB: Backend,
240    Self: FromSql<ST, DB>,
241{
242    type Row = Self;
243
244    fn build(row: Self::Row) -> deserialize::Result<Self> {
245        Ok(row)
246    }
247}
248
249use crate::expression::bound::Bound;
250use crate::expression::{AsExpression, Expression, TypedExpressionType};
251use sql_types::SqlType;
252
253impl<'a, T: ?Sized, ST> AsExpression<ST> for Cow<'a, T>
254where
255    T: 'a + ToOwned,
256    Bound<ST, Cow<'a, T>>: Expression<SqlType = ST>,
257    ST: SqlType + TypedExpressionType,
258{
259    type Expression = Bound<ST, Self>;
260
261    fn as_expression(self) -> Self::Expression {
262        Bound::new(self)
263    }
264}
265
266impl<'a, 'b, T: ?Sized, ST> AsExpression<ST> for &'b Cow<'a, T>
267where
268    T: 'a + ToOwned,
269    Bound<ST, &'b T>: Expression<SqlType = ST>,
270    ST: SqlType + TypedExpressionType,
271{
272    type Expression = Bound<ST, &'b T>;
273
274    fn as_expression(self) -> Self::Expression {
275        Bound::new(&**self)
276    }
277}
278
279impl<T: ?Sized, ST, DB> ToSql<ST, DB> for Box<T>
280where
281    T: ToSql<ST, DB>,
282    DB: Backend,
283    Self: fmt::Debug,
284{
285    fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
286        ToSql::<ST, DB>::to_sql(&**self, out)
287    }
288}
289
290impl<T, ST, DB> FromSql<ST, DB> for Box<T>
291where
292    DB: Backend,
293    T: FromSql<ST, DB>,
294{
295    fn from_sql(bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
296        T::from_sql(bytes).map(Box::from)
297    }
298}
299
300impl<T: ?Sized, ST, DB> Queryable<ST, DB> for Box<T>
301where
302    ST: SingleValue,
303    DB: Backend,
304    Self: FromSql<ST, DB>,
305{
306    type Row = Self;
307
308    fn build(row: Self::Row) -> deserialize::Result<Self> {
309        Ok(row)
310    }
311}
312
313impl<T: ?Sized, ST, DB> ToSql<ST, DB> for alloc::rc::Rc<T>
314where
315    T: ToSql<ST, DB>,
316    DB: Backend,
317    Self: fmt::Debug,
318{
319    fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
320        ToSql::<ST, DB>::to_sql(&**self, out)
321    }
322}
323
324impl<T, ST, DB> FromSql<ST, DB> for alloc::rc::Rc<T>
325where
326    DB: Backend,
327    T: FromSql<ST, DB>,
328{
329    fn from_sql(bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
330        T::from_sql(bytes).map(alloc::rc::Rc::from)
331    }
332}
333
334impl<T: ?Sized, ST, DB> Queryable<ST, DB> for alloc::rc::Rc<T>
335where
336    ST: SingleValue,
337    DB: Backend,
338    Self: FromSql<ST, DB>,
339{
340    type Row = Self;
341
342    fn build(row: Self::Row) -> deserialize::Result<Self> {
343        Ok(row)
344    }
345}
346
347impl<T: ?Sized, ST, DB> ToSql<ST, DB> for alloc::sync::Arc<T>
348where
349    T: ToSql<ST, DB>,
350    DB: Backend,
351    Self: fmt::Debug,
352{
353    fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
354        ToSql::<ST, DB>::to_sql(&**self, out)
355    }
356}
357
358impl<T, ST, DB> FromSql<ST, DB> for alloc::sync::Arc<T>
359where
360    DB: Backend,
361    T: FromSql<ST, DB>,
362{
363    fn from_sql(bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
364        T::from_sql(bytes).map(alloc::sync::Arc::from)
365    }
366}
367
368impl<T: ?Sized, ST, DB> Queryable<ST, DB> for alloc::sync::Arc<T>
369where
370    ST: SingleValue,
371    DB: Backend,
372    Self: FromSql<ST, DB>,
373{
374    type Row = Self;
375
376    fn build(row: Self::Row) -> deserialize::Result<Self> {
377        Ok(row)
378    }
379}
380
381// `FromSql` for the unsized-inner-type cases (`Box<str>`, `Rc<str>`, `Arc<str>`,
382// and the `[u8]` equivalents). The generic `FromSql for Box<T> where T: FromSql`
383// blanket above can't cover these because `str`/`[u8]` are `!Sized` and cannot
384// implement `FromSql` themselves. Instead we go through `FromSqlRef` for `&str` /
385// `&[u8]` and then build the smart pointer with `Box::from` / `Rc::from` / `Arc::from`,
386// which all accept `&str` or `&[u8]` and allocate a sized backing buffer.
387
388impl<ST, DB> FromSql<ST, DB> for Box<str>
389where
390    DB: Backend,
391    for<'a> &'a str: FromSqlRef<'a, ST, DB>,
392{
393    fn from_sql(mut bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
394        <&str as FromSqlRef<'_, ST, DB>>::from_sql(&mut bytes).map(Box::from)
395    }
396}
397
398impl<ST, DB> FromSql<ST, DB> for alloc::rc::Rc<str>
399where
400    DB: Backend,
401    for<'a> &'a str: FromSqlRef<'a, ST, DB>,
402{
403    fn from_sql(mut bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
404        <&str as FromSqlRef<'_, ST, DB>>::from_sql(&mut bytes).map(alloc::rc::Rc::from)
405    }
406}
407
408impl<ST, DB> FromSql<ST, DB> for alloc::sync::Arc<str>
409where
410    DB: Backend,
411    for<'a> &'a str: FromSqlRef<'a, ST, DB>,
412{
413    fn from_sql(mut bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
414        <&str as FromSqlRef<'_, ST, DB>>::from_sql(&mut bytes).map(alloc::sync::Arc::from)
415    }
416}
417
418impl<ST, DB> FromSql<ST, DB> for Box<[u8]>
419where
420    DB: Backend,
421    for<'a> &'a [u8]: FromSqlRef<'a, ST, DB>,
422{
423    fn from_sql(mut bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
424        <&[u8] as FromSqlRef<'_, ST, DB>>::from_sql(&mut bytes).map(Box::from)
425    }
426}
427
428impl<ST, DB> FromSql<ST, DB> for alloc::rc::Rc<[u8]>
429where
430    DB: Backend,
431    for<'a> &'a [u8]: FromSqlRef<'a, ST, DB>,
432{
433    fn from_sql(mut bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
434        <&[u8] as FromSqlRef<'_, ST, DB>>::from_sql(&mut bytes).map(alloc::rc::Rc::from)
435    }
436}
437
438impl<ST, DB> FromSql<ST, DB> for alloc::sync::Arc<[u8]>
439where
440    DB: Backend,
441    for<'a> &'a [u8]: FromSqlRef<'a, ST, DB>,
442{
443    fn from_sql(mut bytes: DB::RawValue<'_>) -> deserialize::Result<Self> {
444        <&[u8] as FromSqlRef<'_, ST, DB>>::from_sql(&mut bytes).map(alloc::sync::Arc::from)
445    }
446}