pub enum FilterActionV1 {
Redact,
Block,
}Expand description
What a matching pattern does.
Variants§
Redact
Replace each match with [REDACTED:<label or id>].
Block
Refuse the content: screening drops it, egress refuses it.
Trait Implementations§
Source§impl Clone for FilterActionV1
impl Clone for FilterActionV1
impl Copy for FilterActionV1
Source§impl Debug for FilterActionV1
impl Debug for FilterActionV1
Source§impl<'de> Deserialize<'de> for FilterActionV1
impl<'de> Deserialize<'de> for FilterActionV1
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
impl Eq for FilterActionV1
Source§impl Hash for FilterActionV1
impl Hash for FilterActionV1
Source§impl PartialEq for FilterActionV1
impl PartialEq for FilterActionV1
Source§impl Serialize for FilterActionV1
impl Serialize for FilterActionV1
impl StructuralPartialEq for FilterActionV1
Auto Trait Implementations§
impl Forget for FilterActionV1
impl Freeze for FilterActionV1
impl Move for FilterActionV1
impl RefUnwindSafe for FilterActionV1
impl Send for FilterActionV1
impl Sync for FilterActionV1
impl Unpin for FilterActionV1
impl UnsafeUnpin for FilterActionV1
impl UnwindSafe for FilterActionV1
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