internet_util/
proxy_object.rs

1#[derive(Debug, Clone)]
2pub struct ProxyObj {
3    pub protocols: String,
4    pub ip_addr: String,
5    pub port: i32,
6}
7
8impl ProxyObj {
9    pub fn new(protocols: String, ip_addr: String, port: i32) -> Self {
10        Self { 
11            protocols,
12            ip_addr,
13            port,
14        }
15    }
16}