Struct temporenc::DateTime [] [src]

pub struct DateTime { /* fields omitted */ }

A Date and Time.

Methods

impl DateTime
[src]

Trait Implementations

impl Debug for DateTime
[src]

Formats the value using the given formatter.

impl PartialEq for DateTime
[src]

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

This method tests for !=.

impl Date for DateTime
[src]

If present, the year. In range [0, 4094].

If present, the month. In range [1, 12].

If present, the day. In range [1, 31].

impl Time for DateTime
[src]

If present, the number of hours. In range [0, 23].

If present, the number of minutes. In range [0, 59].

If present, the number of seconds. In range [0, 60].

impl Serializable for DateTime
[src]

The largest encoded size of any instance of the type. Some types have variable precision, and instances with higher precision will use more bytes than those with lower precision. Read more

The encoded size of this instance. No larger than max_serialized_size().

Serialize into the provided writer with the Temporenc format. Returns the number of bytes written, which will be the same as serialized_size(). Read more

impl Deserializable for DateTime
[src]

Deserialize from the provided reader with the Temporenc format.