error[E0277]: the trait bound `NaiveDateTime: Encode<'_, Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:26:40
|
26 | let query = query.bind(self.clone());
| ---- ^^^^^^^^^^^^ the trait `Encode<'_, Postgres>` is not implemented for `NaiveDateTime`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Encode<'q, DB>`:
<bool as Encode<'q, sqlx::Any>>
<bool as Encode<'_, Postgres>>
<i8 as Encode<'_, Postgres>>
<i16 as Encode<'q, sqlx::Any>>
<i16 as Encode<'_, Postgres>>
<i32 as Encode<'q, sqlx::Any>>
<i32 as Encode<'_, Postgres>>
<i64 as Encode<'q, sqlx::Any>>
and 39 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:32
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveDateTime: Type<Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:26:40
|
26 | let query = query.bind(self.clone());
| ---- ^^^^^^^^^^^^ the trait `Type<Postgres>` is not implemented for `NaiveDateTime`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Type<DB>`:
<bool as Type<Postgres>>
<bool as Type<sqlx::Any>>
<i8 as Type<Postgres>>
<i16 as Type<Postgres>>
<i16 as Type<sqlx::Any>>
<i32 as Type<Postgres>>
<i32 as Type<sqlx::Any>>
<i64 as Type<Postgres>>
and 49 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:49
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveDateTime: Encode<'_, Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:33:40
|
33 | let query = query.bind(<$t>::clone(self));
| ---- ^^^^^^^^^^^^^^^^^ the trait `Encode<'_, Postgres>` is not implemented for `NaiveDateTime`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Encode<'q, DB>`:
<bool as Encode<'q, sqlx::Any>>
<bool as Encode<'_, Postgres>>
<i8 as Encode<'_, Postgres>>
<i16 as Encode<'q, sqlx::Any>>
<i16 as Encode<'_, Postgres>>
<i32 as Encode<'q, sqlx::Any>>
<i32 as Encode<'_, Postgres>>
<i64 as Encode<'q, sqlx::Any>>
and 39 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:32
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveDateTime: Type<Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:33:40
|
33 | let query = query.bind(<$t>::clone(self));
| ---- ^^^^^^^^^^^^^^^^^ the trait `Type<Postgres>` is not implemented for `NaiveDateTime`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Type<DB>`:
<bool as Type<Postgres>>
<bool as Type<sqlx::Any>>
<i8 as Type<Postgres>>
<i16 as Type<Postgres>>
<i16 as Type<sqlx::Any>>
<i32 as Type<Postgres>>
<i32 as Type<sqlx::Any>>
<i64 as Type<Postgres>>
and 49 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:49
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveDate: Encode<'_, Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:26:40
|
26 | let query = query.bind(self.clone());
| ---- ^^^^^^^^^^^^ the trait `Encode<'_, Postgres>` is not implemented for `NaiveDate`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Encode<'q, DB>`:
<bool as Encode<'q, sqlx::Any>>
<bool as Encode<'_, Postgres>>
<i8 as Encode<'_, Postgres>>
<i16 as Encode<'q, sqlx::Any>>
<i16 as Encode<'_, Postgres>>
<i32 as Encode<'q, sqlx::Any>>
<i32 as Encode<'_, Postgres>>
<i64 as Encode<'q, sqlx::Any>>
and 39 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:32
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveDate: Type<Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:26:40
|
26 | let query = query.bind(self.clone());
| ---- ^^^^^^^^^^^^ the trait `Type<Postgres>` is not implemented for `NaiveDate`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Type<DB>`:
<bool as Type<Postgres>>
<bool as Type<sqlx::Any>>
<i8 as Type<Postgres>>
<i16 as Type<Postgres>>
<i16 as Type<sqlx::Any>>
<i32 as Type<Postgres>>
<i32 as Type<sqlx::Any>>
<i64 as Type<Postgres>>
and 49 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:49
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveDate: Encode<'_, Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:33:40
|
33 | let query = query.bind(<$t>::clone(self));
| ---- ^^^^^^^^^^^^^^^^^ the trait `Encode<'_, Postgres>` is not implemented for `NaiveDate`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Encode<'q, DB>`:
<bool as Encode<'q, sqlx::Any>>
<bool as Encode<'_, Postgres>>
<i8 as Encode<'_, Postgres>>
<i16 as Encode<'q, sqlx::Any>>
<i16 as Encode<'_, Postgres>>
<i32 as Encode<'q, sqlx::Any>>
<i32 as Encode<'_, Postgres>>
<i64 as Encode<'q, sqlx::Any>>
and 39 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:32
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveDate: Type<Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:33:40
|
33 | let query = query.bind(<$t>::clone(self));
| ---- ^^^^^^^^^^^^^^^^^ the trait `Type<Postgres>` is not implemented for `NaiveDate`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Type<DB>`:
<bool as Type<Postgres>>
<bool as Type<sqlx::Any>>
<i8 as Type<Postgres>>
<i16 as Type<Postgres>>
<i16 as Type<sqlx::Any>>
<i32 as Type<Postgres>>
<i32 as Type<sqlx::Any>>
<i64 as Type<Postgres>>
and 49 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:49
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveTime: Encode<'_, Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:26:40
|
26 | let query = query.bind(self.clone());
| ---- ^^^^^^^^^^^^ the trait `Encode<'_, Postgres>` is not implemented for `NaiveTime`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Encode<'q, DB>`:
<bool as Encode<'q, sqlx::Any>>
<bool as Encode<'_, Postgres>>
<i8 as Encode<'_, Postgres>>
<i16 as Encode<'q, sqlx::Any>>
<i16 as Encode<'_, Postgres>>
<i32 as Encode<'q, sqlx::Any>>
<i32 as Encode<'_, Postgres>>
<i64 as Encode<'q, sqlx::Any>>
and 39 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:32
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveTime: Type<Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:26:40
|
26 | let query = query.bind(self.clone());
| ---- ^^^^^^^^^^^^ the trait `Type<Postgres>` is not implemented for `NaiveTime`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Type<DB>`:
<bool as Type<Postgres>>
<bool as Type<sqlx::Any>>
<i8 as Type<Postgres>>
<i16 as Type<Postgres>>
<i16 as Type<sqlx::Any>>
<i32 as Type<Postgres>>
<i32 as Type<sqlx::Any>>
<i64 as Type<Postgres>>
and 49 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:49
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveTime: Encode<'_, Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:33:40
|
33 | let query = query.bind(<$t>::clone(self));
| ---- ^^^^^^^^^^^^^^^^^ the trait `Encode<'_, Postgres>` is not implemented for `NaiveTime`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Encode<'q, DB>`:
<bool as Encode<'q, sqlx::Any>>
<bool as Encode<'_, Postgres>>
<i8 as Encode<'_, Postgres>>
<i16 as Encode<'q, sqlx::Any>>
<i16 as Encode<'_, Postgres>>
<i32 as Encode<'q, sqlx::Any>>
<i32 as Encode<'_, Postgres>>
<i64 as Encode<'q, sqlx::Any>>
and 39 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:32
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NaiveTime: Type<Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:33:40
|
33 | let query = query.bind(<$t>::clone(self));
| ---- ^^^^^^^^^^^^^^^^^ the trait `Type<Postgres>` is not implemented for `NaiveTime`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Type<DB>`:
<bool as Type<Postgres>>
<bool as Type<sqlx::Any>>
<i8 as Type<Postgres>>
<i16 as Type<Postgres>>
<i16 as Type<sqlx::Any>>
<i32 as Type<Postgres>>
<i32 as Type<sqlx::Any>>
<i64 as Type<Postgres>>
and 49 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:49
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `chrono::DateTime<Utc>: Encode<'_, Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:26:40
|
26 | let query = query.bind(self.clone());
| ---- ^^^^^^^^^^^^ the trait `Encode<'_, Postgres>` is not implemented for `chrono::DateTime<Utc>`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Encode<'q, DB>`:
<bool as Encode<'q, sqlx::Any>>
<bool as Encode<'_, Postgres>>
<i8 as Encode<'_, Postgres>>
<i16 as Encode<'q, sqlx::Any>>
<i16 as Encode<'_, Postgres>>
<i32 as Encode<'q, sqlx::Any>>
<i32 as Encode<'_, Postgres>>
<i64 as Encode<'q, sqlx::Any>>
and 39 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:32
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `chrono::DateTime<Utc>: Type<Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:26:40
|
26 | let query = query.bind(self.clone());
| ---- ^^^^^^^^^^^^ the trait `Type<Postgres>` is not implemented for `chrono::DateTime<Utc>`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Type<DB>`:
<bool as Type<Postgres>>
<bool as Type<sqlx::Any>>
<i8 as Type<Postgres>>
<i16 as Type<Postgres>>
<i16 as Type<sqlx::Any>>
<i32 as Type<Postgres>>
<i32 as Type<sqlx::Any>>
<i64 as Type<Postgres>>
and 49 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:49
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `chrono::DateTime<Utc>: Encode<'_, Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:33:40
|
33 | let query = query.bind(<$t>::clone(self));
| ---- ^^^^^^^^^^^^^^^^^ the trait `Encode<'_, Postgres>` is not implemented for `chrono::DateTime<Utc>`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Encode<'q, DB>`:
<bool as Encode<'q, sqlx::Any>>
<bool as Encode<'_, Postgres>>
<i8 as Encode<'_, Postgres>>
<i16 as Encode<'q, sqlx::Any>>
<i16 as Encode<'_, Postgres>>
<i32 as Encode<'q, sqlx::Any>>
<i32 as Encode<'_, Postgres>>
<i64 as Encode<'q, sqlx::Any>>
and 39 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:32
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `chrono::DateTime<Utc>: Type<Postgres>` is not satisfied
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlb-0.4.0\src\val.rs:33:40
|
33 | let query = query.bind(<$t>::clone(self));
| ---- ^^^^^^^^^^^^^^^^^ the trait `Type<Postgres>` is not implemented for `chrono::DateTime<Utc>`
| |
| required by a bound introduced by this call
...
96 | bindable!(NaiveDateTime, NaiveDate, NaiveTime, DateTime<Utc>);
| ------------------------------------------------------------- in this macro invocation
|
= help: the following other types implement trait `Type<DB>`:
<bool as Type<Postgres>>
<bool as Type<sqlx::Any>>
<i8 as Type<Postgres>>
<i16 as Type<Postgres>>
<i16 as Type<sqlx::Any>>
<i32 as Type<Postgres>>
<i32 as Type<sqlx::Any>>
<i64 as Type<Postgres>>
and 49 others
note: required by a bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
--> C:\Users\Adi\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sqlx-core-0.7.2\src\query.rs:79:49
|
79 | pub fn bind<T: 'q + Send + Encode<'q, DB> + Type<DB>>(mut self, value: T) -> Self {
| ^^^^^^^^ required by this bound in `Query::<'q, DB, <DB as HasArguments<'q>>::Arguments>::bind`
= note: this error originates in the macro `bindable` (in Nightly builds, run with -Z macro-backtrace for more info)