Remove the policy for a collection. Returns `true` if one existed.
(&mut self, collection: &str)
| 168 | |
| 169 | /// Remove the policy for a collection. Returns `true` if one existed. |
| 170 | pub fn remove(&mut self, collection: &str) -> bool { |
| 171 | self.policies.remove(collection).is_some() |
| 172 | } |
| 173 | |
| 174 | /// Set the policy for a specific constraint kind within a collection. |
| 175 | pub fn set_for_kind( |
no outgoing calls
no test coverage detected