GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup

Struct GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup 

Source
pub struct GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup {
    pub claim_appearances: Option<Vec<String>>,
    pub claim_author: Option<GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor>,
    pub claim_date: Option<String>,
    pub claim_first_appearance: Option<String>,
    pub claim_location: Option<String>,
    pub claim_reviewed: Option<String>,
    pub rating: Option<GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating>,
    pub url: Option<String>,
}
Expand description

Fields for an individual ClaimReview element. Except for sub-messages that group fields together, each of these fields correspond those in https://schema.org/ClaimReview. We list the precise mapping for each field.

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

Fields§

§claim_appearances: Option<Vec<String>>

A list of links to works in which this claim appears, aside from the one specified in claim_first_appearance. Corresponds to ClaimReview.itemReviewed[@type=Claim].appearance.url.

§claim_author: Option<GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor>

Info about the author of this claim.

§claim_date: Option<String>

The date when the claim was made or entered public discourse. Corresponds to ClaimReview.itemReviewed.datePublished.

§claim_first_appearance: Option<String>

A link to a work in which this claim first appears. Corresponds to ClaimReview.itemReviewed[@type=Claim].firstAppearance.url.

§claim_location: Option<String>

The location where this claim was made. Corresponds to ClaimReview.itemReviewed.name.

§claim_reviewed: Option<String>

A short summary of the claim being evaluated. Corresponds to ClaimReview.claimReviewed.

§rating: Option<GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating>

Info about the rating of this claim review.

§url: Option<String>

This field is optional, and will default to the page URL. We provide this field to allow you the override the default value, but the only permitted override is the page URL plus an optional anchor link (“page jump”). Corresponds to ClaimReview.url

Trait Implementations§

Source§

impl Clone for GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup

Source§

fn clone(&self) -> GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup

Source§

impl<'de> Deserialize<'de> for GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Part for GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,