(&self, val: Expr)
| 1202 | } |
| 1203 | |
| 1204 | fn save_as(&self, val: Expr) -> SimpleExpr { |
| 1205 | match self { |
| 1206 | Self::Two => val.cast_as("text"), |
| 1207 | _ => self.save_enum_as(val), |
| 1208 | } |
| 1209 | } |
| 1210 | } |
| 1211 | |
| 1212 | #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)] |
no test coverage detected