Struct google_safebrowsing4::ListUpdateResponse
[−]
[src]
pub struct ListUpdateResponse { pub response_type: Option<String>, pub threat_type: Option<String>, pub removals: Option<Vec<ThreatEntrySet>>, pub new_client_state: Option<String>, pub checksum: Option<Checksum>, pub threat_entry_type: Option<String>, pub additions: Option<Vec<ThreatEntrySet>>, pub platform_type: Option<String>, }
An update to an individual list.
This type is not used in any activity, and only used as part of another schema.
Fields
response_type: Option<String>
The type of response. This may indicate that an action is required by the client when the response is received.
threat_type: Option<String>
The threat type for which data is returned.
removals: Option<Vec<ThreatEntrySet>>
A set of entries to remove from a local threat type's list. Repeated for the same reason as above.
new_client_state: Option<String>
The new client state, in encrypted format. Opaque to clients.
checksum: Option<Checksum>
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided update. If the client state doesn't match the expected state, the client must disregard this update and retry later.
threat_entry_type: Option<String>
The format of the threats.
additions: Option<Vec<ThreatEntrySet>>
A set of entries to add to a local threat type's list. Repeated to allow for a combination of compressed and raw data to be sent in a single response.
platform_type: Option<String>
The platform type for which data is returned.
Trait Implementations
impl Debug for ListUpdateResponse
[src]
impl Clone for ListUpdateResponse
[src]
fn clone(&self) -> ListUpdateResponse
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
impl Default for ListUpdateResponse
[src]
fn default() -> ListUpdateResponse
Returns the "default value" for a type. Read more