/// Returns a serialization-friendly representation of `Checkpoint`.
Returns a serialization-friendly representation of `Checkpoint`.
Returns a serialization - friendly representation of ` Checkpoint ` .
pub fn serialize(&self) -> CheckpointSerialization {
        CheckpointSerialization {
            mapping: self.mapping.as_ref().map(|mapping| mapping.serialize()),
        }
    }
pub fn serialize ( & self ) -> CheckpointSerialization { CheckpointSerialization { mapping : self . mapping . as_ref ( ) . map ( | mapping | mapping . serialize ( ) ) , } }
Returns a serialization-friendly representation of `Checkpoint`.
Returns a serialization - friendly representation of ` Checkpoint ` .
&self