[][src]Struct google_factchecktools1_alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating

pub struct GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating {
    pub rating_explanation: Option<String>,
    pub worst_rating: Option<i32>,
    pub rating_value: Option<i32>,
    pub image_url: Option<String>,
    pub textual_rating: Option<String>,
    pub best_rating: Option<i32>,
}

Information about the claim rating.

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

Fields

rating_explanation: Option<String>

Corresponds to ClaimReview.reviewRating.ratingExplanation.

worst_rating: Option<i32>

For numeric ratings, the worst value possible in the scale from worst to best.
Corresponds to ClaimReview.reviewRating.worstRating.

rating_value: Option<i32>

A numeric rating of this claim, in the range worstRating — bestRating inclusive.
Corresponds to ClaimReview.reviewRating.ratingValue.

image_url: Option<String>

Corresponds to ClaimReview.reviewRating.image.

textual_rating: Option<String>

The truthfulness rating as a human-readible short word or phrase.
Corresponds to ClaimReview.reviewRating.alternateName.

best_rating: Option<i32>

For numeric ratings, the best value possible in the scale from worst to best.
Corresponds to ClaimReview.reviewRating.bestRating.

Trait Implementations

impl Clone for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating[src]

impl Debug for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating[src]

impl Default for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating[src]

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

impl Part for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating[src]

impl Serialize for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> 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.

impl<T> Typeable for T where
    T: Any