Trait sqldatetime::DateTime
source · pub trait DateTime {
// Required methods
fn year(&self) -> Option<i32>;
fn month(&self) -> Option<i32>;
fn day(&self) -> Option<i32>;
fn hour(&self) -> Option<i32>;
fn minute(&self) -> Option<i32>;
fn second(&self) -> Option<f64>;
fn date(&self) -> Option<Date>;
}
Expand description
General trait for all date time types.