pub struct GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating {
pub best_rating: Option<i32>,
pub image_url: Option<String>,
pub rating_explanation: Option<String>,
pub rating_value: Option<i32>,
pub textual_rating: Option<String>,
pub worst_rating: Option<i32>,
}Expand description
Information about the claim rating.
This type is not used in any activity, and only used as part of another schema.
Fields§
§best_rating: Option<i32>For numeric ratings, the best value possible in the scale from worst to best. Corresponds to ClaimReview.reviewRating.bestRating.
image_url: Option<String>Corresponds to ClaimReview.reviewRating.image.
rating_explanation: Option<String>Corresponds to ClaimReview.reviewRating.ratingExplanation.
rating_value: Option<i32>A numeric rating of this claim, in the range worstRating — bestRating inclusive. Corresponds to ClaimReview.reviewRating.ratingValue.
textual_rating: Option<String>The truthfulness rating as a human-readible short word or phrase. Corresponds to ClaimReview.reviewRating.alternateName.
worst_rating: Option<i32>For numeric ratings, the worst value possible in the scale from worst to best. Corresponds to ClaimReview.reviewRating.worstRating.
Trait Implementations§
Source§impl Clone for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
impl Clone for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
Source§fn clone(&self) -> GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
fn clone(&self) -> GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
impl Default for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
Source§fn default() -> GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
fn default() -> GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
impl<'de> Deserialize<'de> for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
Auto Trait Implementations§
impl Freeze for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
impl RefUnwindSafe for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
impl Send for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
impl Sync for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
impl Unpin for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
impl UnwindSafe for GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more