[][src]Struct gcp_client::google::cloud::webrisk::v1::ThreatEntryAdditions

pub struct ThreatEntryAdditions {
    pub raw_hashes: Vec<RawHashes>,
    pub rice_hashes: Option<RiceDeltaEncoding>,
}

Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.

Fields

raw_hashes: Vec<RawHashes>

The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.

rice_hashes: Option<RiceDeltaEncoding>

The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.

Trait Implementations

impl Clone for ThreatEntryAdditions[src]

impl Debug for ThreatEntryAdditions[src]

impl Default for ThreatEntryAdditions[src]

impl Message for ThreatEntryAdditions[src]

impl PartialEq<ThreatEntryAdditions> for ThreatEntryAdditions[src]

impl StructuralPartialEq for ThreatEntryAdditions[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]