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. In practice, this field is empty or contains exactly one ThreatEntrySet.
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 Default for ListUpdateResponse
[src]
impl Default for ListUpdateResponse
fn default() -> ListUpdateResponse
[src]
fn default() -> ListUpdateResponse
Returns the "default value" for a type. Read more
impl Clone for ListUpdateResponse
[src]
impl Clone for ListUpdateResponse
fn clone(&self) -> ListUpdateResponse
[src]
fn clone(&self) -> ListUpdateResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ListUpdateResponse
[src]
impl Debug for ListUpdateResponse
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for ListUpdateResponse
[src]
impl Part for ListUpdateResponse
Auto Trait Implementations
impl Send for ListUpdateResponse
impl Send for ListUpdateResponse
impl Sync for ListUpdateResponse
impl Sync for ListUpdateResponse