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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.