Struct google_safebrowsing4::ThreatMatch[][src]

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

The threat type matching this threat.

The threat matching this threat.

Optional metadata associated with this threat.

The threat entry type matching this threat.

The platform type matching this threat.

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 Default for ThreatMatch
[src]

Returns the "default value" for a type. Read more

impl Clone for ThreatMatch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ThreatMatch
[src]

Formats the value using the given formatter. Read more

impl Part for ThreatMatch
[src]

Auto Trait Implementations

impl Send for ThreatMatch

impl Sync for ThreatMatch