Check if the [ActiveValue] is [ActiveValue::NotSet]
(&self)
| 813 | |
| 814 | /// Check if the [ActiveValue] is [ActiveValue::NotSet] |
| 815 | pub fn is_not_set(&self) -> bool { |
| 816 | matches!(self, Self::NotSet) |
| 817 | } |
| 818 | |
| 819 | /// Get the mutable value an [ActiveValue] |
| 820 | /// also setting itself to [ActiveValue::NotSet] |