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

The type of response. This may indicate that an action is required by the client when the response is received.

The threat type for which data is returned.

A set of entries to remove from a local threat type's list. In practice, this field is empty or contains exactly one ThreatEntrySet.

The new client state, in encrypted format. Opaque to clients.

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.

The format of the threats.

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.

The platform type for which data is returned.

Trait Implementations

impl Default for ListUpdateResponse
[src]

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

impl Clone for ListUpdateResponse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ListUpdateResponse
[src]

Formats the value using the given formatter. Read more

impl Part for ListUpdateResponse
[src]

Auto Trait Implementations