Struct google_safebrowsing4::api::GoogleSecuritySafebrowsingV4ThreatEntry [−][src]
pub struct GoogleSecuritySafebrowsingV4ThreatEntry {
pub digest: Option<String>,
pub hash: Option<String>,
pub url: Option<String>,
}
Expand description
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
digest: Option<String>
The digest of an executable in SHA256 format. The API supports both binary and hex digests. For JSON requests, digests are base64-encoded.
hash: Option<String>
A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded.
url: Option<String>
A URL.
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