Struct google_commentanalyzer1_alpha1::api::AttributeParameters[][src]

pub struct AttributeParameters {
    pub score_threshold: Option<f32>,
    pub score_type: Option<String>,
}

Configurable parameters for attribute scoring.

This type is not used in any activity, and only used as part of another schema.

Fields

score_threshold: Option<f32>

Don't return scores for this attribute that are below this threshold. If unset, a default threshold will be applied. A FloatValue wrapper is used to distinguish between 0 vs. default/unset.

score_type: Option<String>

What type of scores to return. If unset, defaults to probability scores.

Trait Implementations

impl Clone for AttributeParameters[src]

impl Debug for AttributeParameters[src]

impl Default for AttributeParameters[src]

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

impl Part for AttributeParameters[src]

impl Serialize for AttributeParameters[src]

Auto Trait Implementations

impl RefUnwindSafe for AttributeParameters[src]

impl Send for AttributeParameters[src]

impl Sync for AttributeParameters[src]

impl Unpin for AttributeParameters[src]

impl UnwindSafe for AttributeParameters[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> 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.