Struct maxmind_geo_ip2::Traits
source · [−]pub struct Traits {Show 18 fields
pub autonomous_system_number: Option<i64>,
pub autonomous_system_organization: Option<String>,
pub domain: Option<String>,
pub is_anonymous: Option<bool>,
pub is_anonymous_proxy: Option<bool>,
pub is_anonymous_vpn: Option<bool>,
pub is_hosting_provider: Option<bool>,
pub is_public_proxy: Option<bool>,
pub is_residential_proxy: Option<bool>,
pub is_satellite_provider: Option<bool>,
pub is_tor_exit_node: Option<bool>,
pub isp: Option<String>,
pub network: String,
pub ip_address: String,
pub organization: Option<String>,
pub static_ip_score: Option<f64>,
pub user_count: Option<i64>,
pub user_type: Option<String>,
}
Fields
autonomous_system_number: Option<i64>
autonomous_system_organization: Option<String>
domain: Option<String>
is_anonymous: Option<bool>
is_anonymous_proxy: Option<bool>
is_anonymous_vpn: Option<bool>
is_hosting_provider: Option<bool>
is_public_proxy: Option<bool>
is_residential_proxy: Option<bool>
is_satellite_provider: Option<bool>
is_tor_exit_node: Option<bool>
isp: Option<String>
network: String
ip_address: String
organization: Option<String>
static_ip_score: Option<f64>
user_count: Option<i64>
user_type: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Traits
impl<'de> Deserialize<'de> for Traits
sourcefn 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 Traits
impl Send for Traits
impl Sync for Traits
impl Unpin for Traits
impl UnwindSafe for Traits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more