Commit b8dbe6d 1 parent 23431e5 commit b8dbe6d Copy full SHA for b8dbe6d
File tree 2 files changed +4
-0
lines changed
sqlx-mysql/src/protocol/response
sqlx-postgres/src/message
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ use crate::protocol::Capabilities;
13
13
/// prior MySQL versions.
14
14
#[ derive( Debug ) ]
15
15
pub struct EofPacket {
16
+ #[ allow( dead_code) ]
16
17
pub warnings : u16 ,
17
18
pub status : Status ,
18
19
}
Original file line number Diff line number Diff line change @@ -27,13 +27,16 @@ pub struct Field {
27
27
28
28
/// The data type size (see pg_type.typlen). Note that negative values denote
29
29
/// variable-width types.
30
+ #[ allow( dead_code) ]
30
31
pub data_type_size : i16 ,
31
32
32
33
/// The type modifier (see pg_attribute.atttypmod). The meaning of the
33
34
/// modifier is type-specific.
35
+ #[ allow( dead_code) ]
34
36
pub type_modifier : i32 ,
35
37
36
38
/// The format code being used for the field.
39
+ #[ allow( dead_code) ]
37
40
pub format : i16 ,
38
41
}
39
42
You can’t perform that action at this time.
0 commit comments