Trait relay_filter::Filterable

source ·
pub trait Filterable {
    // Required methods
    fn csp(&self) -> Option<&Csp>;
    fn exceptions(&self) -> Option<&Values<Exception>>;
    fn ip_addr(&self) -> Option<&str>;
    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§

source

fn csp(&self) -> Option<&Csp>

The CSP report contained in the item. Only for CSP reports.

source

fn exceptions(&self) -> Option<&Values<Exception>>

The exception values of the item. Only for error events.

source

fn ip_addr(&self) -> Option<&str>

The IP address of the client that sent the data.

source

fn logentry(&self) -> Option<&LogEntry>

The logentry message. Only for error events.

source

fn release(&self) -> Option<&str>

The release string of the data item.

source

fn transaction(&self) -> Option<&str>

The transaction name. Only for transaction events.

source

fn url(&self) -> Option<Url>

The URL from which the request originates. Used for localhost filtering.

source

fn user_agent(&self) -> Option<&str>

The user agent of the client that sent the data.

Implementations on Foreign Types§

source§

impl Filterable for Event

source§

impl Filterable for Replay

source§

impl Filterable for Span

Implementors§