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
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 Default for ThreatMatch
[src]
fn default() -> ThreatMatch
Returns the "default value" for a type. Read more
impl Clone for ThreatMatch
[src]
fn clone(&self) -> ThreatMatch
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more