pub struct ShadowsocksProxy {
pub server: String,
pub port: u16,
pub password: String,
pub cipher: String,
pub udp: Option<bool>,
pub tfo: Option<bool>,
pub skip_cert_verify: Option<bool>,
pub plugin: Option<String>,
pub plugin_opts: Option<String>,
pub udp_over_tcp: Option<bool>,
pub udp_over_tcp_version: Option<u8>,
pub client_fingerprint: Option<String>,
}Fields§
§server: String§port: u16§password: String§cipher: String§udp: Option<bool>§tfo: Option<bool>§skip_cert_verify: Option<bool>§plugin: Option<String>§plugin_opts: Option<String>§udp_over_tcp: Option<bool>§udp_over_tcp_version: Option<u8>§client_fingerprint: Option<String>Trait Implementations§
Source§impl Clone for ShadowsocksProxy
impl Clone for ShadowsocksProxy
Source§fn clone(&self) -> ShadowsocksProxy
fn clone(&self) -> ShadowsocksProxy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShadowsocksProxy
impl Debug for ShadowsocksProxy
Source§impl Default for ShadowsocksProxy
impl Default for ShadowsocksProxy
Source§impl<'de> Deserialize<'de> for ShadowsocksProxy
impl<'de> Deserialize<'de> for ShadowsocksProxy
Source§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 Freeze for ShadowsocksProxy
impl RefUnwindSafe for ShadowsocksProxy
impl Send for ShadowsocksProxy
impl Sync for ShadowsocksProxy
impl Unpin for ShadowsocksProxy
impl UnwindSafe for ShadowsocksProxy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more