Struct google_safebrowsing4::ThreatEntry [] [src]

pub struct ThreatEntry {
    pub url: Option<String>,
    pub hash: Option<String>,
    pub digest: Option<String>,
}

An individual threat; for example, a malicious URL or its hash representation. Only one of these fields should be set.

This type is not used in any activity, and only used as part of another schema.

Fields

A URL.

A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. This field is in binary format.

The digest of an executable in SHA256 format. The API supports both binary and hex digests.

Trait Implementations

impl Debug for ThreatEntry
[src]

Formats the value using the given formatter.

impl Clone for ThreatEntry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for ThreatEntry
[src]

Returns the "default value" for a type. Read more

impl Part for ThreatEntry
[src]