[−][src]Struct odbc_iter::odbc_type::UnixTimestamp
SqlTimestamp
type that can be created from number of seconds since epoch as represented by f64
value.
Methods
impl UnixTimestamp
[src]
pub fn as_naive_date_time(&self) -> NaiveDateTime
[src]
pub fn into_inner(self) -> SqlTimestamp
[src]
Trait Implementations
impl From<UnixTimestamp> for Value
[src]
fn from(value: UnixTimestamp) -> Value
[src]
impl From<f64> for UnixTimestamp
[src]
fn from(ts: f64) -> UnixTimestamp
[src]
impl From<NaiveDateTime> for UnixTimestamp
[src]
fn from(value: NaiveDateTime) -> UnixTimestamp
[src]
impl Debug for UnixTimestamp
[src]
impl<'a> OdbcType<'a> for UnixTimestamp
[src]
fn sql_data_type() -> SqlDataType
[src]
fn c_data_type() -> SqlCDataType
[src]
fn convert(buffer: &'a [u8]) -> Self
[src]
fn column_size(&self) -> SQLULEN
[src]
fn value_ptr(&self) -> SQLPOINTER
[src]
fn null_bytes_count() -> usize
[src]
fn decimal_digits(&self) -> i16
[src]
Auto Trait Implementations
impl Sync for UnixTimestamp
impl Send for UnixTimestamp
impl Unpin for UnixTimestamp
impl RefUnwindSafe for UnixTimestamp
impl UnwindSafe for UnixTimestamp
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<E, C> WrapContext<C> for E
[src]
type ContextError = ErrorContext<E, C>
fn wrap_context(self, context: C) -> ErrorContext<E, C>
[src]
impl<T> ToErrorNoContext<T> for T
[src]
fn to_root_cause(self) -> ErrorNoContext<T>
[src]
impl<'a, T> Output<'a> for T where
T: OdbcType<'a>,
[src]
T: OdbcType<'a>,