(&self, item: &mut ActiveModel)
| 15 | |
| 16 | impl Params { |
| 17 | fn update(&self, item: &mut ActiveModel) { |
| 18 | item.title = Set(self.title.clone()); |
| 19 | item.content = Set(self.content.clone()); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | async fn load_item(ctx: &AppContext, id: i32) -> Result<Model> { |
no outgoing calls
no test coverage detected