[][src]Struct google_safebrowsing4::ListUpdateResponse

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 Part for ListUpdateResponse[src]

impl Default for ListUpdateResponse[src]

impl Clone for ListUpdateResponse[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ListUpdateResponse[src]

impl Serialize for ListUpdateResponse[src]

impl<'de> Deserialize<'de> for ListUpdateResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]