pub struct ProxyGroupConfigInToml {
pub name: String,
pub group_type: String,
pub strategy: Option<String>,
pub rule: Vec<String>,
pub url: Option<String>,
pub interval: Option<u32>,
pub lazy: Option<bool>,
pub tolerance: Option<u32>,
pub timeout: Option<u32>,
pub disable_udp: Option<bool>,
pub import: Option<String>,
}Expand description
Proxy group configuration
Fields§
§name: String§group_type: String§strategy: Option<String>§rule: Vec<String>§url: Option<String>§interval: Option<u32>§lazy: Option<bool>§tolerance: Option<u32>§timeout: Option<u32>§disable_udp: Option<bool>§import: Option<String>Trait Implementations§
Source§impl Clone for ProxyGroupConfigInToml
impl Clone for ProxyGroupConfigInToml
Source§fn clone(&self) -> ProxyGroupConfigInToml
fn clone(&self) -> ProxyGroupConfigInToml
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 ProxyGroupConfigInToml
impl Debug for ProxyGroupConfigInToml
Source§impl Default for ProxyGroupConfigInToml
impl Default for ProxyGroupConfigInToml
Source§fn default() -> ProxyGroupConfigInToml
fn default() -> ProxyGroupConfigInToml
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProxyGroupConfigInTomlwhere
ProxyGroupConfigInToml: Default,
impl<'de> Deserialize<'de> for ProxyGroupConfigInTomlwhere
ProxyGroupConfigInToml: Default,
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
Source§impl Into<ProxyGroupConfig> for ProxyGroupConfigInToml
impl Into<ProxyGroupConfig> for ProxyGroupConfigInToml
Source§fn into(self) -> ProxyGroupConfig
fn into(self) -> ProxyGroupConfig
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for ProxyGroupConfigInToml
impl RefUnwindSafe for ProxyGroupConfigInToml
impl Send for ProxyGroupConfigInToml
impl Sync for ProxyGroupConfigInToml
impl Unpin for ProxyGroupConfigInToml
impl UnwindSafe for ProxyGroupConfigInToml
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