pub struct ProxyCountries {
pub enabled: bool,
pub countries: Vec<String>,
}Expand description
GET /proxy/countries — supported egress countries, plus whether the
gateway actually has residential credentials configured.
Fields§
§enabled: boolFalse when this gateway has no residential proxy credentials — sending a
proxy spec will fail.
countries: Vec<String>Supported ISO-3166-1 alpha-2 country codes, lowercase.
Trait Implementations§
Source§impl Clone for ProxyCountries
impl Clone for ProxyCountries
Source§impl Debug for ProxyCountries
impl Debug for ProxyCountries
Source§impl Default for ProxyCountries
impl Default for ProxyCountries
Source§impl<'de> Deserialize<'de> for ProxyCountries
impl<'de> Deserialize<'de> for ProxyCountries
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 Forget for ProxyCountries
impl Freeze for ProxyCountries
impl Move for ProxyCountries
impl RefUnwindSafe for ProxyCountries
impl Send for ProxyCountries
impl Sync for ProxyCountries
impl Unpin for ProxyCountries
impl UnsafeUnpin for ProxyCountries
impl UnwindSafe for ProxyCountries
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