Struct temporenc::DateTimeSubSecond
[−]
[src]
pub struct DateTimeSubSecond { /* fields omitted */ }
Methods
impl DateTimeSubSecond
[src]
fn deserialize<R: Read>(reader: &mut R)
-> Result<DateTimeSubSecond, DeserializationError>
-> Result<DateTimeSubSecond, DeserializationError>
fn serialize_components<W: Write>(year: Option<u16>,
month: Option<u8>,
day: Option<u8>,
hour: Option<u8>,
minute: Option<u8>,
second: Option<u8>,
fractional_second: FractionalSecond,
writer: &mut W)
-> Result<usize, SerializationError>
month: Option<u8>,
day: Option<u8>,
hour: Option<u8>,
minute: Option<u8>,
second: Option<u8>,
fractional_second: FractionalSecond,
writer: &mut W)
-> Result<usize, SerializationError>
fn serialize<W: Write>(&self,
writer: &mut W)
-> Result<usize, SerializationError>
writer: &mut W)
-> Result<usize, SerializationError>
Trait Implementations
impl Date for DateTimeSubSecond
[src]
fn year(&self) -> Option<u16>
If present, the year. In range [0, 4094].
fn month(&self) -> Option<u8>
If present, the month. In range [1, 12].
fn day(&self) -> Option<u8>
If present, the day. In range [1, 31].
impl Time for DateTimeSubSecond
[src]
fn hour(&self) -> Option<u8>
If present, the number of hours. In range [0, 23].
fn minute(&self) -> Option<u8>
If present, the number of minutes. In range [0, 59].
fn second(&self) -> Option<u8>
If present, the number of seconds. In range [0, 60].
impl SubSecond for DateTimeSubSecond
[src]
fn fractional_second(&self) -> FractionalSecond
impl Serializable for DateTimeSubSecond
[src]
fn max_serialized_size() -> usize
The largest encoded size of any instance of the type
fn serialized_size(&self) -> usize
The encoded size of this instance