pub struct FactCheck {
pub text: FormattedText,
pub country_code: String,
}Expand description
Describes a fact-check added to the message by an independent checker
Fields§
§text: FormattedTextText of the fact-check
country_code: StringA two-letter ISO 3166-1 alpha-2 country code of the country for which the fact-check is shown
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FactCheck
impl<'de> Deserialize<'de> for FactCheck
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 StructuralPartialEq for FactCheck
Auto Trait Implementations§
impl Freeze for FactCheck
impl RefUnwindSafe for FactCheck
impl Send for FactCheck
impl Sync for FactCheck
impl Unpin for FactCheck
impl UnsafeUnpin for FactCheck
impl UnwindSafe for FactCheck
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