mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
Add missing compatible
implementation for Vec<BitVec>
This commit is contained in:
parent
1a59d3308a
commit
0ed8e3f610
@ -33,6 +33,10 @@ impl Type<Postgres> for Vec<BitVec> {
|
|||||||
fn type_info() -> PgTypeInfo {
|
fn type_info() -> PgTypeInfo {
|
||||||
<[BitVec] as Type<Postgres>>::type_info()
|
<[BitVec] as Type<Postgres>>::type_info()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn compatible(ty: &PgTypeInfo) -> bool {
|
||||||
|
<[BitVec] as Type<Postgres>>::compatible(ty)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Encode<'_, Postgres> for BitVec {
|
impl Encode<'_, Postgres> for BitVec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user