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]
impl Default for ThreatMatch
fn default() -> ThreatMatch
[src]
fn default() -> ThreatMatch
Returns the "default value" for a type. Read more
impl Clone for ThreatMatch
[src]
impl Clone for ThreatMatch
fn clone(&self) -> ThreatMatch
[src]
fn clone(&self) -> ThreatMatch
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ThreatMatch
[src]
impl Debug for ThreatMatch
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for ThreatMatch
[src]
impl Part for ThreatMatch
Auto Trait Implementations
impl Send for ThreatMatch
impl Send for ThreatMatch
impl Sync for ThreatMatch
impl Sync for ThreatMatch