Struct relay_filter::GenericFilterConfig
source · pub struct GenericFilterConfig {
pub id: String,
pub is_enabled: bool,
pub condition: Option<RuleCondition>,
}
Expand description
Configuration for a generic filter.
Fields§
§id: String
Unique identifier of the generic filter.
is_enabled: bool
Specifies whether this filter is enabled.
condition: Option<RuleCondition>
The condition for the filter.
Implementations§
Trait Implementations§
source§impl Clone for GenericFilterConfig
impl Clone for GenericFilterConfig
source§fn clone(&self) -> GenericFilterConfig
fn clone(&self) -> GenericFilterConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GenericFilterConfig
impl Debug for GenericFilterConfig
source§impl Default for GenericFilterConfig
impl Default for GenericFilterConfig
source§fn default() -> GenericFilterConfig
fn default() -> GenericFilterConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GenericFilterConfig
impl<'de> Deserialize<'de> for GenericFilterConfig
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 PartialEq for GenericFilterConfig
impl PartialEq for GenericFilterConfig
source§impl Serialize for GenericFilterConfig
impl Serialize for GenericFilterConfig
impl StructuralPartialEq for GenericFilterConfig
Auto Trait Implementations§
impl Freeze for GenericFilterConfig
impl RefUnwindSafe for GenericFilterConfig
impl Send for GenericFilterConfig
impl Sync for GenericFilterConfig
impl Unpin for GenericFilterConfig
impl UnwindSafe for GenericFilterConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)