Trait picky_asn1::date::TimeRepr

source ·
pub trait TimeReprwhere
    Self: Sized,{
    // Required methods
    fn serialize<S>(
        date: &Date<Self>,
        serializer: S
    ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
       where S: Serializer;
    fn deserialize<'de, D>(
        deserializer: D
    ) -> Result<Date<Self>, <D as Deserializer<'de>>::Error>
       where D: Deserializer<'de>;
}

Required Methods§

source

fn serialize<S>( date: &Date<Self>, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

source

fn deserialize<'de, D>( deserializer: D ) -> Result<Date<Self>, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Implementors§