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