fix: correct a couple places from the recent column metadata changes

This commit is contained in:
Ryan Leckey 2020-07-05 04:28:25 -07:00
parent 250b4d8e10
commit 8baeb9215a
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ pub(crate) struct ColumnData {
}
bitflags! {
#[cfg_attr(feature = "offline", derive(serde::Serialize, serde::Deserialize))]
pub struct Flags: u16 {
// Its value is 1 if the column is nullable.
const NULLABLE = 0x0001;

View File

@ -161,7 +161,7 @@ trait StatementInfoExt: serde::Serialize + serde::de::DeserializeOwned {}
#[cfg(feature = "offline")]
impl<DB: Database> StatementInfoExt for StatementInfo<DB> where
Describe<DB>: serde::Serialize + serde::de::DeserializeOwned
StatementInfo<DB>: serde::Serialize + serde::de::DeserializeOwned
{
}