Function ulid::serde::ulid_as_u128::serialize
source · pub fn serialize<S>(value: &Ulid, serializer: S) -> Result<S::Ok, S::Error>where
S: Serializer,
Expand description
Serializes a ULID as a u128 type.
pub fn serialize<S>(value: &Ulid, serializer: S) -> Result<S::Ok, S::Error>where
S: Serializer,
Serializes a ULID as a u128 type.