[][src]Struct gcp_client::google::cloud::webrisk::v1::compute_threat_list_diff_request::Constraints

pub struct Constraints {
    pub max_diff_entries: i32,
    pub max_database_entries: i32,
    pub supported_compressions: Vec<i32>,
}

The constraints for this diff.

Fields

max_diff_entries: i32

The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 210 and 220. If zero, no diff size limit is set.

max_database_entries: i32

Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 210 and 220. If zero, no database size limit is set.

supported_compressions: Vec<i32>

The compression types supported by the client.

Implementations

impl Constraints[src]

pub fn supported_compressions(
    &self
) -> FilterMap<Cloned<Iter<i32>>, fn(_: i32) -> Option<CompressionType>>
[src]

Returns an iterator which yields the valid enum values contained in supported_compressions.

pub fn push_supported_compressions(&mut self, value: CompressionType)[src]

Appends the provided enum value to supported_compressions.

Trait Implementations

impl Clone for Constraints[src]

impl Debug for Constraints[src]

impl Default for Constraints[src]

impl Message for Constraints[src]

impl PartialEq<Constraints> for Constraints[src]

impl StructuralPartialEq for Constraints[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]