pub struct FactCheck {
pub need_check: bool,
pub country: Option<String>,
pub text: Option<TextWithEntities>,
pub hash: i64,
}Expand description
Generated from:
factCheck#b89bfccf flags:# need_check:flags.0?true country:flags.1?string text:flags.1?TextWithEntities hash:long = FactCheckFields§
§need_check: bool§country: Option<String>§text: Option<TextWithEntities>§hash: i64Trait Implementations§
Source§impl Deserializable for FactCheck
impl Deserializable for FactCheck
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for FactCheck
impl Identifiable for FactCheck
Source§const CONSTRUCTOR_ID: u32 = 0xb89bfccf
const CONSTRUCTOR_ID: u32 = 0xb89bfccf
The constructor ID as specified in the TL schema.
Source§impl Serializable for FactCheck
impl Serializable for FactCheck
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