manifest::serde_ext::OptSlant

Function serialize

Source
pub fn serialize<S>(
    value: &Option<Slant>,
    serializer: S,
) -> Result<S::Ok, S::Error>
where S: Serializer,
Expand description

Implementation of Serde’s serialize