[][src]Struct google_safebrowsing4::ThreatMatch

pub struct ThreatMatch {
    pub threat_type: Option<String>,
    pub threat: Option<ThreatEntry>,
    pub threat_entry_metadata: Option<ThreatEntryMetadata>,
    pub threat_entry_type: Option<String>,
    pub platform_type: Option<String>,
    pub cache_duration: Option<String>,
}

A match when checking a threat entry in the Safe Browsing threat lists.

This type is not used in any activity, and only used as part of another schema.

Fields

threat_type: Option<String>

The threat type matching this threat.

threat: Option<ThreatEntry>

The threat matching this threat.

threat_entry_metadata: Option<ThreatEntryMetadata>

Optional metadata associated with this threat.

threat_entry_type: Option<String>

The threat entry type matching this threat.

platform_type: Option<String>

The platform type matching this threat.

cache_duration: Option<String>

The cache lifetime for the returned match. Clients must not cache this response for more than this duration to avoid false positives.

Trait Implementations

impl Clone for ThreatMatch[src]

impl Debug for ThreatMatch[src]

impl Default for ThreatMatch[src]

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

impl Part for ThreatMatch[src]

impl Serialize for ThreatMatch[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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 = Infallible

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> Typeable for T where
    T: Any