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§fn clone(&self) -> ProxyCountries
fn clone(&self) -> ProxyCountries
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProxyCountries
impl Debug for ProxyCountries
Source§impl Default for ProxyCountries
impl Default for ProxyCountries
Source§fn default() -> ProxyCountries
fn default() -> ProxyCountries
Returns the “default value” for a type. Read more
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 Freeze 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