bitwarden_policies/policies/uri_match_defaults.rs
1use crate::{Policy, PolicyType, policy_type::PolicyDataType};
2
3/// URI Match Defaults policy.
4pub struct UriMatchDefaultsPolicy;
5
6impl Policy for UriMatchDefaultsPolicy {
7 type Data = ();
8
9 fn policy_type(&self) -> PolicyType {
10 PolicyType::UriMatchDefaults
11 }
12
13 fn to_erased(&self, _data: Self::Data) -> PolicyDataType {
14 PolicyDataType::UriMatchDefaults
15 }
16}