pub fn to_delta(&self) -> Delta {
        match self {
            Op::Set { value, .. } => Delta::Set {
                value: value.clone(),
            },
            Op::Delete { .. } => Delta::Delete {},
        }
    }
/// converts the Op to a delta, which can be stored in a local cache
converts the Op to a delta, which can be stored in a local cache
converts the Op to a delta which can be stored in a local cache
pub fn to_delta(&self) -> Delta {
        match self {
            Op::Set { value, .. } => Delta::Set {
                value: value.clone(),
            },
            Op::Delete { .. } => Delta::Delete {},
        }
    }
pub fn to_delta ( & self ) -> Delta { match self { Op :: Set { value , .. } => Delta :: Set { value : value . clone ( ) , } , Op :: Delete { .. } => Delta :: Delete { } , } }
converts the Op to a delta, which can be stored in a local cache
converts the Op to a delta which can be stored in a local cache
&self
&self