[][src]Struct abuseipdb::Check

pub struct Check {
    pub ip_addr: IpAddr,
    pub is_public: bool,
    pub is_whitelisted: Option<bool>,
    pub abuse_confidence_score: u32,
    pub country_code: Option<String>,
    pub country_name: Option<String>,
    pub usage_type: String,
    pub isp: String,
    pub domain: Option<String>,
    pub total_reports: u64,
    pub num_distinct_users: u64,
    pub last_reported_at: DateTime<Utc>,
    pub reports: Option<Vec<CheckReport>>,
}

Fields

ip_addr: IpAddris_public: boolis_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: u32country_code: Option<String>country_name: Option<String>usage_type: Stringisp: Stringdomain: Option<String>total_reports: u64num_distinct_users: u64last_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]

impl<'de> Deserialize<'de> for Check[src]

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]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]