pub struct Allowlist {
pub description: Option<String>,
pub paths: Option<Vec<String>>,
pub regexes: Option<Vec<String>>,
pub stopwords: Option<Vec<String>>,
pub compiled_regexes: Vec<Regex>,
}Fields§
§description: Option<String>§paths: Option<Vec<String>>§regexes: Option<Vec<String>>§stopwords: Option<Vec<String>>§compiled_regexes: Vec<Regex>Pre-compiled regexes (not serialized)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Allowlist
impl<'de> Deserialize<'de> for Allowlist
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl RegexCompilable for Allowlist
impl RegexCompilable for Allowlist
fn compile_regexes(&mut self) -> CompilationErrors
Auto Trait Implementations§
impl Freeze for Allowlist
impl RefUnwindSafe for Allowlist
impl Send for Allowlist
impl Sync for Allowlist
impl Unpin for Allowlist
impl UnwindSafe for Allowlist
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more