[][src]Struct google_safebrowsing4::ThreatHit

pub struct ThreatHit {
    pub threat_type: Option<String>,
    pub client_info: Option<ClientInfo>,
    pub user_info: Option<UserInfo>,
    pub entry: Option<ThreatEntry>,
    pub platform_type: Option<String>,
    pub resources: Option<Vec<ThreatSource>>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

threat_type: Option<String>

The threat type reported.

client_info: Option<ClientInfo>

Client-reported identification.

user_info: Option<UserInfo>

Details about the user that encountered the threat.

entry: Option<ThreatEntry>

The threat entry responsible for the hit. Full hash should be reported for hash-based hits.

platform_type: Option<String>

The platform type reported.

resources: Option<Vec<ThreatSource>>

The resources related to the threat hit.

Trait Implementations

impl Resource for ThreatHit[src]

impl RequestValue for ThreatHit[src]

impl Clone for ThreatHit[src]

impl Default for ThreatHit[src]

impl Debug for ThreatHit[src]

impl Serialize for ThreatHit[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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> Typeable for T where
    T: Any

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