fn edit(&mut self, id: i64, name: &str, email: Option<String>) {
        self.inner.insert(
            id,
            Record {
                id,
                name: name.to_string(),
                email,
            },
        );
    }
/// Edit an existing record. Will insert a new record if the id is not found.
Edit an existing record. Will insert a new record if the id is not found.
Edit an existing record . Will insert a new record if the id is not found .
fn edit(&mut self, id: i64, name: &str, email: Option<String>) {
        self.inner.insert(
            id,
            Record {
                id,
                name: name.to_string(),
                email,
            },
        );
    }
fn edit ( & mut self , id : i64 , name : & str , email : Option < String > ) { self . inner . insert ( id , Record { id , name : name . to_string ( ) , email , } , ) ; }
Edit an existing record.
Edit an existing record .
&mut self
id
i64
name
&str
email
Option<String>