Skip to main content

serialize

Function serialize 

pub fn serialize<S>(
    value: &Option<Uint<256, 4>>,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,
Expand description

Serializes an optional TTD using the format described in the module documentation.