pub fn serialize_optional_icinga_timestamp<S>(
v: &Option<OffsetDateTime>,
serializer: S,
) -> Result<S::Ok, S::Error>where
S: Serializer,Expand description
serialize a unix timestamp with sub second accuracy if the value is None serialize 0
ยงErrors
this should not return any errors