pub struct VlessProxy {Show 23 fields
pub uuid: String,
pub flow: Option<String>,
pub tls: bool,
pub alpn: HashSet<String>,
pub udp: bool,
pub packet_addr: Option<bool>,
pub xudp: Option<bool>,
pub packet_encoding: Option<String>,
pub network: Option<String>,
pub reality_public_key: Option<String>,
pub reality_short_id: Option<String>,
pub http_method: Option<String>,
pub http_path: Option<String>,
pub http_headers: Option<HashMap<String, Vec<String>>>,
pub h2_host: Option<Vec<String>>,
pub h2_path: Option<String>,
pub grpc_service_name: Option<String>,
pub ws_path: Option<String>,
pub ws_headers: Option<HashMap<String, String>>,
pub skip_cert_verify: Option<bool>,
pub fingerprint: Option<String>,
pub servername: Option<String>,
pub client_fingerprint: Option<String>,
}Fields§
§uuid: String§flow: Option<String>§tls: bool§alpn: HashSet<String>§udp: bool§packet_addr: Option<bool>§xudp: Option<bool>§packet_encoding: Option<String>§network: Option<String>§reality_public_key: Option<String>§reality_short_id: Option<String>§http_method: Option<String>§http_path: Option<String>§http_headers: Option<HashMap<String, Vec<String>>>§h2_host: Option<Vec<String>>§h2_path: Option<String>§grpc_service_name: Option<String>§ws_path: Option<String>§ws_headers: Option<HashMap<String, String>>§skip_cert_verify: Option<bool>§fingerprint: Option<String>§servername: Option<String>§client_fingerprint: Option<String>Trait Implementations§
Source§impl Clone for VlessProxy
impl Clone for VlessProxy
Source§fn clone(&self) -> VlessProxy
fn clone(&self) -> VlessProxy
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 VlessProxy
impl Debug for VlessProxy
Source§impl Default for VlessProxy
impl Default for VlessProxy
Source§impl<'de> Deserialize<'de> for VlessProxy
impl<'de> Deserialize<'de> for VlessProxy
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 VlessProxy
impl RefUnwindSafe for VlessProxy
impl Send for VlessProxy
impl Sync for VlessProxy
impl Unpin for VlessProxy
impl UnwindSafe for VlessProxy
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