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
url: Option<String>
A URL.
hash: Option<String>
A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. This field is in binary format.
digest: Option<String>
The digest of an executable in SHA256 format. The API supports both binary and hex digests.
Trait Implementations
impl Default for ThreatEntry
[src]
fn default() -> ThreatEntry
Returns the "default value" for a type. Read more
impl Clone for ThreatEntry
[src]
fn clone(&self) -> ThreatEntry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more