Struct google_safebrowsing4::api::GoogleSecuritySafebrowsingV4ThreatMatch [−][src]
pub struct GoogleSecuritySafebrowsingV4ThreatMatch {
pub cache_duration: Option<String>,
pub platform_type: Option<String>,
pub threat: Option<GoogleSecuritySafebrowsingV4ThreatEntry>,
pub threat_entry_metadata: Option<GoogleSecuritySafebrowsingV4ThreatEntryMetadata>,
pub threat_entry_type: Option<String>,
pub threat_type: Option<String>,
}
Expand description
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
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.
platform_type: Option<String>
The platform type matching this threat.
threat: Option<GoogleSecuritySafebrowsingV4ThreatEntry>
The threat matching this threat.
threat_entry_metadata: Option<GoogleSecuritySafebrowsingV4ThreatEntryMetadata>
Optional metadata associated with this threat.
threat_entry_type: Option<String>
The threat entry type matching this threat.
threat_type: Option<String>
The threat type matching this threat.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more