pub struct ProxyWithToxics {
pub proxy: ProxyConfig,
pub toxics: Vec<Toxic>,
}Expand description
The serializable API response
Fields§
§proxy: ProxyConfigThe proxy details
toxics: Vec<Toxic>Toxics installed on the proxy
Implementations§
Source§impl ProxyWithToxics
impl ProxyWithToxics
Create the full ProxyWithToxics from SharedProxyInfo
Sourcepub fn from_proxy_config(proxy_config: ProxyConfig) -> Self
pub fn from_proxy_config(proxy_config: ProxyConfig) -> Self
Create a new ProxyWithToxics with empty toxics
Trait Implementations§
Source§impl Clone for ProxyWithToxics
impl Clone for ProxyWithToxics
Source§fn clone(&self) -> ProxyWithToxics
fn clone(&self) -> ProxyWithToxics
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 ProxyWithToxics
impl Debug for ProxyWithToxics
Source§impl<'de> Deserialize<'de> for ProxyWithToxics
impl<'de> Deserialize<'de> for ProxyWithToxics
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 PartialEq for ProxyWithToxics
impl PartialEq for ProxyWithToxics
Source§impl Serialize for ProxyWithToxics
impl Serialize for ProxyWithToxics
impl StructuralPartialEq for ProxyWithToxics
Auto Trait Implementations§
impl Freeze for ProxyWithToxics
impl RefUnwindSafe for ProxyWithToxics
impl Send for ProxyWithToxics
impl Sync for ProxyWithToxics
impl Unpin for ProxyWithToxics
impl UnwindSafe for ProxyWithToxics
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