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§
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>,
Object Safety§
This trait is not object safe.