Skip to main content

Filterable

Trait Filterable 

Source
pub trait Filterable {
    // Required methods
    fn rule_id(&self) -> &str;
    fn category(&self) -> Option<&str>;
    fn resource_id(&self) -> Option<&str>;
    fn resource_type(&self) -> Option<&str>;
    fn logical_id(&self) -> Option<&str>;
    fn entity_type(&self) -> Option<EntityType>;
}
Expand description

Trait for types that can be filtered by rule ID, category, resource ID, resource type, or entity (logical ID and entity type).

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§