Struct clashctl::model::Config [−][src]
pub struct Config {
pub port: u64,
pub socks_port: u64,
pub redir_port: u64,
pub tproxy_port: u64,
pub mixed_port: u64,
pub allow_lan: bool,
pub ipv6: bool,
pub mode: Mode,
pub log_level: Level,
pub bind_address: String,
pub authentication: Vec<String>,
}
Fields
port: u64
socks_port: u64
redir_port: u64
tproxy_port: u64
mixed_port: u64
allow_lan: bool
ipv6: bool
mode: Mode
log_level: Level
bind_address: String
authentication: Vec<String>
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more