Struct temporenc::TimeOnly
[−]
[src]
pub struct TimeOnly { /* fields omitted */ }
Methods
impl TimeOnly
[src]
fn deserialize<R: Read>(reader: &mut R)
-> Result<TimeOnly, DeserializationError>
-> Result<TimeOnly, DeserializationError>
fn serialize_components<W: Write>(hour: Option<u8>,
minute: Option<u8>,
second: Option<u8>,
writer: &mut W)
-> Result<usize, SerializationError>
minute: Option<u8>,
second: Option<u8>,
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 Debug for TimeOnly
[src]
impl Time for TimeOnly
[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 Serializable for TimeOnly
[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