Struct odbc_iter::odbc_type::ffi::SQL_DATE_STRUCT
pub struct SQL_DATE_STRUCT {
pub year: i16,
pub month: u16,
pub day: u16,
}
Fields§
§year: i16
§month: u16
§day: u16
Trait Implementations§
§impl Clone for SQL_DATE_STRUCT
impl Clone for SQL_DATE_STRUCT
§fn clone(&self) -> SQL_DATE_STRUCT
fn clone(&self) -> SQL_DATE_STRUCT
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SQL_DATE_STRUCT
impl Debug for SQL_DATE_STRUCT
§impl Default for SQL_DATE_STRUCT
impl Default for SQL_DATE_STRUCT
§fn default() -> SQL_DATE_STRUCT
fn default() -> SQL_DATE_STRUCT
Returns the “default value” for a type. Read more
source§impl From<SQL_DATE_STRUCT> for Value
impl From<SQL_DATE_STRUCT> for Value
§impl Hash for SQL_DATE_STRUCT
impl Hash for SQL_DATE_STRUCT
source§impl<'a> OdbcType<'a> for SQL_DATE_STRUCT
impl<'a> OdbcType<'a> for SQL_DATE_STRUCT
fn sql_data_type() -> SqlDataType
fn c_data_type() -> SqlCDataType
fn convert(buffer: &'a [u8]) -> SQL_DATE_STRUCT
fn column_size(&self) -> u64
fn value_ptr(&self) -> *mut c_void
fn null_bytes_count() -> usize
fn decimal_digits(&self) -> i16
§impl PartialEq<SQL_DATE_STRUCT> for SQL_DATE_STRUCT
impl PartialEq<SQL_DATE_STRUCT> for SQL_DATE_STRUCT
§fn eq(&self, other: &SQL_DATE_STRUCT) -> bool
fn eq(&self, other: &SQL_DATE_STRUCT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.