Trait temporenc::Serializable
[−]
[src]
pub trait Serializable { fn max_serialized_size() -> usize; fn serialized_size(&self) -> usize; }
Required Methods
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
Implementors
impl Serializable for DateOnly
impl Serializable for TimeOnly
impl Serializable for DateTime
impl Serializable for DateTimeOffset
impl Serializable for DateTimeSubSecond
impl Serializable for DateTimeSubSecondOffset