Function replace_struct

Source
pub fn replace_struct(table: &str, to_struct: impl ToStruct) -> Mutation
Expand description

replace_struct returns a Mutation to insert a row into a table, deleting any existing row.

For a similar example, See update_struct.