Struct odbc_iter::odbc_type::ffi::SQL_TIMESTAMP_STRUCT
pub struct SQL_TIMESTAMP_STRUCT {
pub year: i16,
pub month: u16,
pub day: u16,
pub hour: u16,
pub minute: u16,
pub second: u16,
pub fraction: u32,
}
Fields§
§year: i16
§month: u16
§day: u16
§hour: u16
§minute: u16
§second: u16
§fraction: u32
Trait Implementations§
§impl Clone for SQL_TIMESTAMP_STRUCT
impl Clone for SQL_TIMESTAMP_STRUCT
§fn clone(&self) -> SQL_TIMESTAMP_STRUCT
fn clone(&self) -> SQL_TIMESTAMP_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_TIMESTAMP_STRUCT
impl Debug for SQL_TIMESTAMP_STRUCT
§impl Default for SQL_TIMESTAMP_STRUCT
impl Default for SQL_TIMESTAMP_STRUCT
§fn default() -> SQL_TIMESTAMP_STRUCT
fn default() -> SQL_TIMESTAMP_STRUCT
Returns the “default value” for a type. Read more
source§impl From<SQL_TIMESTAMP_STRUCT> for Value
impl From<SQL_TIMESTAMP_STRUCT> for Value
source§fn from(value: SqlTimestamp) -> Value
fn from(value: SqlTimestamp) -> Value
Converts to this type from the input type.
§impl Hash for SQL_TIMESTAMP_STRUCT
impl Hash for SQL_TIMESTAMP_STRUCT
source§impl<'a> OdbcType<'a> for SQL_TIMESTAMP_STRUCT
impl<'a> OdbcType<'a> for SQL_TIMESTAMP_STRUCT
fn sql_data_type() -> SqlDataType
fn c_data_type() -> SqlCDataType
fn convert(buffer: &'a [u8]) -> SQL_TIMESTAMP_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_TIMESTAMP_STRUCT> for SQL_TIMESTAMP_STRUCT
impl PartialEq<SQL_TIMESTAMP_STRUCT> for SQL_TIMESTAMP_STRUCT
§fn eq(&self, other: &SQL_TIMESTAMP_STRUCT) -> bool
fn eq(&self, other: &SQL_TIMESTAMP_STRUCT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.