Struct ipinfo::PrivacyDetails
source · pub struct PrivacyDetails {
pub vpn: bool,
pub proxy: bool,
pub tor: bool,
pub relay: bool,
pub hosting: bool,
pub service: String,
}
Expand description
Privacy details.
Fields§
§vpn: bool
Whether this IP address belongs to a VPN.
proxy: bool
Whether this IP address belongs to a proxy.
tor: bool
Whether this IP address is using Tor.
relay: bool
Whether this IP address is a relay.
hosting: bool
Whether this IP address is from a hosting provider.
service: String
The service offering the privacy service(s) listed here.
Trait Implementations§
source§impl Clone for PrivacyDetails
impl Clone for PrivacyDetails
source§fn clone(&self) -> PrivacyDetails
fn clone(&self) -> PrivacyDetails
Returns a copy 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 PrivacyDetails
impl Debug for PrivacyDetails
source§impl<'de> Deserialize<'de> for PrivacyDetails
impl<'de> Deserialize<'de> for PrivacyDetails
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 RefUnwindSafe for PrivacyDetails
impl Send for PrivacyDetails
impl Sync for PrivacyDetails
impl Unpin for PrivacyDetails
impl UnwindSafe for PrivacyDetails
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