mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-30 22:42:11 +00:00
fix: suppress dead_code
warnings
This commit is contained in:
parent
3418455482
commit
05a10de4d8
@ -13,6 +13,7 @@ use crate::protocol::Capabilities;
|
||||
/// prior MySQL versions.
|
||||
#[derive(Debug)]
|
||||
pub struct EofPacket {
|
||||
#[allow(dead_code)]
|
||||
pub warnings: u16,
|
||||
pub status: Status,
|
||||
}
|
||||
|
@ -27,13 +27,16 @@ pub struct Field {
|
||||
|
||||
/// The data type size (see pg_type.typlen). Note that negative values denote
|
||||
/// variable-width types.
|
||||
#[allow(dead_code)]
|
||||
pub data_type_size: i16,
|
||||
|
||||
/// The type modifier (see pg_attribute.atttypmod). The meaning of the
|
||||
/// modifier is type-specific.
|
||||
#[allow(dead_code)]
|
||||
pub type_modifier: i32,
|
||||
|
||||
/// The format code being used for the field.
|
||||
#[allow(dead_code)]
|
||||
pub format: i16,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user