[−][src]Struct tiberius::time::DateTime2
A presentation of datetime2
type in the server.
Warning
It isn't recommended to use this type directly. For dealing with
datetime2
, use the chrono
feature of this crate and its NaiveDateTime
type.
Implementations
impl DateTime2
[src]
pub fn new(date: Date, time: Time) -> Self
[src]
Construct a new DateTime2
from the date and time components.
pub fn date(self) -> Date
[src]
The date component.
pub fn time(self) -> Time
[src]
The time component.
Trait Implementations
impl Clone for DateTime2
[src]
impl Copy for DateTime2
[src]
impl Debug for DateTime2
[src]
impl PartialEq<DateTime2> for DateTime2
[src]
impl StructuralPartialEq for DateTime2
[src]
Auto Trait Implementations
impl RefUnwindSafe for DateTime2
impl Send for DateTime2
impl Sync for DateTime2
impl Unpin for DateTime2
impl UnwindSafe for DateTime2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,