pub struct GoogleSecuritySafebrowsingV4ThreatMatch {
pub cache_duration: Option<Duration>,
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<Duration>
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§
source§impl Clone for GoogleSecuritySafebrowsingV4ThreatMatch
impl Clone for GoogleSecuritySafebrowsingV4ThreatMatch
source§fn clone(&self) -> GoogleSecuritySafebrowsingV4ThreatMatch
fn clone(&self) -> GoogleSecuritySafebrowsingV4ThreatMatch
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleSecuritySafebrowsingV4ThreatMatch
impl Default for GoogleSecuritySafebrowsingV4ThreatMatch
source§fn default() -> GoogleSecuritySafebrowsingV4ThreatMatch
fn default() -> GoogleSecuritySafebrowsingV4ThreatMatch
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleSecuritySafebrowsingV4ThreatMatch
impl<'de> Deserialize<'de> for GoogleSecuritySafebrowsingV4ThreatMatch
source§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
impl Part for GoogleSecuritySafebrowsingV4ThreatMatch
Auto Trait Implementations§
impl RefUnwindSafe for GoogleSecuritySafebrowsingV4ThreatMatch
impl Send for GoogleSecuritySafebrowsingV4ThreatMatch
impl Sync for GoogleSecuritySafebrowsingV4ThreatMatch
impl Unpin for GoogleSecuritySafebrowsingV4ThreatMatch
impl UnwindSafe for GoogleSecuritySafebrowsingV4ThreatMatch
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more