pub struct PollAnswer {
pub text: TextWithEntities,
pub option: Vec<u8>,
}Expand description
Generated from the following TL definition:
pollAnswer#ff16e2ca text:TextWithEntities option:bytes = PollAnswerFields§
§text: TextWithEntities§option: Vec<u8>Trait Implementations§
Source§impl Clone for PollAnswer
impl Clone for PollAnswer
Source§fn clone(&self) -> PollAnswer
fn clone(&self) -> PollAnswer
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 Debug for PollAnswer
impl Debug for PollAnswer
Source§impl Deserializable for PollAnswer
impl Deserializable for PollAnswer
Source§impl From<PollAnswer> for PollAnswer
impl From<PollAnswer> for PollAnswer
Source§fn from(x: PollAnswer) -> Self
fn from(x: PollAnswer) -> Self
Converts to this type from the input type.
Source§impl From<PollAnswer> for PollAnswer
impl From<PollAnswer> for PollAnswer
Source§fn from(x: PollAnswer) -> Self
fn from(x: PollAnswer) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PollAnswer
impl Identifiable for PollAnswer
Source§const CONSTRUCTOR_ID: u32 = 4279689930
const CONSTRUCTOR_ID: u32 = 4279689930
The unique identifier for the type.
Source§impl PartialEq for PollAnswer
impl PartialEq for PollAnswer
Source§impl Serializable for PollAnswer
impl Serializable for PollAnswer
impl StructuralPartialEq for PollAnswer
Auto Trait Implementations§
impl Freeze for PollAnswer
impl RefUnwindSafe for PollAnswer
impl Send for PollAnswer
impl Sync for PollAnswer
impl Unpin for PollAnswer
impl UnsafeUnpin for PollAnswer
impl UnwindSafe for PollAnswer
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