Struct task_hookrs::date::Date [] [src]

pub struct Date(_);

Trait Implementations

impl PartialEq for Date
[src]

fn eq(&self, __arg_0: &Date) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Date) -> bool

This method tests for !=.

impl Eq for Date
[src]

impl Hash for Date
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Debug for Date
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Date
[src]

fn clone(&self) -> Date

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl From<NaiveDateTime> for Date
[src]

fn from(ndt: NaiveDateTime) -> Date

Performs the conversion.

impl Serialize for Date
[src]

fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer

Serializes this value into this serializer.

impl Deserialize for Date
[src]

fn deserialize<D>(deserializer: &mut D) -> Result<Date, D::Error> where D: Deserializer

Deserialize this value given this Deserializer.