[−][src]Struct abuseipdb::Check
Fields
ip_addr: IpAddr
is_public: bool
is_whitelisted: Option<bool>
The is_whitelisted
property reflects whether the IP is spotted in any AbuseDB whitelists.
The whitelists give the benefit of the doubt to many IPs, so it generally should not be
used as a basis for action. The abuse_confidence_score
is a better basis for action,
because it is nonbinary and allows for nuance. The is_whitelisted
property may be null
if a whitelist lookup was not performed.
abuse_confidence_score: u32
country_code: Option<String>
country_name: Option<String>
usage_type: String
isp: String
domain: Option<String>
total_reports: u64
num_distinct_users: u64
last_reported_at: DateTime<Utc>
reports: Option<Vec<CheckReport>>
Trait Implementations
impl Clone for Check
[src]
impl PartialEq<Check> for Check
[src]
impl Debug for Check
[src]
impl StructuralPartialEq for Check
[src]
impl Serialize for Check
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Check
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnwindSafe for Check
impl RefUnwindSafe for Check
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,