Trait relay_filter::Filterable
source · pub trait Filterable {
// Required methods
- fn csp(&self) -> Option<&Csp>;
- fn exceptions(&self) -> Option<&Values<Exception>>;
+ fn csp(&self) -> Option<&Csp>;
+ fn exceptions(&self) -> Option<&Values<Exception>>;
fn ip_addr(&self) -> Option<&str>;
- fn logentry(&self) -> Option<&LogEntry>;
+ fn logentry(&self) -> Option<&LogEntry>;
fn release(&self) -> Option<&str>;
fn transaction(&self) -> Option<&str>;
fn url(&self) -> Option<Url>;
fn user_agent(&self) -> Option<&str>;
}
Expand description
A data item to which filters can be applied.
-Required Methods§
sourcefn exceptions(&self) -> Option<&Values<Exception>>
fn exceptions(&self) -> Option<&Values<Exception>>
The exception values of the item. Only for error events.
+Required Methods§
sourcefn exceptions(&self) -> Option<&Values<Exception>>
fn exceptions(&self) -> Option<&Values<Exception>>
The exception values of the item. Only for error events.
sourcefn transaction(&self) -> Option<&str>
fn transaction(&self) -> Option<&str>
The transaction name. Only for transaction events.
sourcefn url(&self) -> Option<Url>
fn url(&self) -> Option<Url>
The URL from which the request originates. Used for localhost filtering.
sourcefn user_agent(&self) -> Option<&str>
fn user_agent(&self) -> Option<&str>
The user agent of the client that sent the data.
-