fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        let type_opt = Type::from_i32(self.mutation_type);
        let type_str = match type_opt {
            None => "unknown",
            Some(type_enum) => match type_enum {
                Type::Insert => "insert",
                Type::Update => "update",
                Type::Delete => "delete",
                Type::Upsert => "upsert",
            },
        };

        write!(f, "{}({})", type_str, self.key_as_string())
    }
/// Produces a string that shows the key being mutated and the type of
/// mutation, but not the value.
Produces a string that shows the key being mutated and the type of
mutation, but not the value.
Produces a string that shows the key being mutated and the type of mutation but not the value .
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        let type_opt = Type::from_i32(self.mutation_type);
        let type_str = match type_opt {
            None => "unknown",
            Some(type_enum) => match type_enum {
                Type::Insert => "insert",
                Type::Update => "update",
                Type::Delete => "delete",
                Type::Upsert => "upsert",
            },
        };
        write!(f, "{}({})", type_str, self.key_as_string())
    }
fn fmt ( & self , f : & mut fmt :: Formatter < ' _ > ) -> fmt :: Result { let type_opt = Type :: from_i32 ( self . mutation_type ) ; let type_str = match type_opt { None => " " , Some ( type_enum ) => match type_enum { Type :: Insert => " " , Type :: Update => " " , Type :: Delete => " " , Type :: Upsert => " " , } , } ; write ! ( f " " type_str self key_as_string ( ) ) }
Produces a string that shows the key being mutated and the type of
mutation, but not the value.
Produces a string that shows the key being mutated and the type of mutation but not the value .
&self
f
&mut fmt::Formatter<'_>
&self
f
&mut fmt::Formatter<'_>