Struct humphrey_server::config::config::BlacklistConfig [−][src]
pub struct BlacklistConfig {
pub list: Vec<String>,
pub mode: BlacklistMode,
}
Expand description
Represents configuration for the blacklist.
Fields
list: Vec<String>
The list of addresses to block
mode: BlacklistMode
The way in which the blacklist is enforced
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BlacklistConfig
impl Send for BlacklistConfig
impl Sync for BlacklistConfig
impl Unpin for BlacklistConfig
impl UnwindSafe for BlacklistConfig
Blanket Implementations
Mutably borrows from an owned value. Read more