pub struct AddPollAnswer {
pub peer: InputPeer,
pub msg_id: i32,
pub answer: PollAnswer,
}Expand description
Generated from:
messages.addPollAnswer#19bc4b6d peer:InputPeer msg_id:int answer:PollAnswer = UpdatesFields§
§peer: InputPeer§msg_id: i32§answer: PollAnswerTrait Implementations§
Source§impl Clone for AddPollAnswer
impl Clone for AddPollAnswer
Source§fn clone(&self) -> AddPollAnswer
fn clone(&self) -> AddPollAnswer
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 AddPollAnswer
impl Debug for AddPollAnswer
Source§impl Deserializable for AddPollAnswer
impl Deserializable for AddPollAnswer
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 AddPollAnswer
impl Identifiable for AddPollAnswer
Source§const CONSTRUCTOR_ID: u32 = 0x19bc4b6d
const CONSTRUCTOR_ID: u32 = 0x19bc4b6d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for AddPollAnswer
impl PartialEq for AddPollAnswer
Source§impl RemoteCall for AddPollAnswer
impl RemoteCall for AddPollAnswer
Source§impl Serializable for AddPollAnswer
impl Serializable for AddPollAnswer
impl StructuralPartialEq for AddPollAnswer
Auto Trait Implementations§
impl Freeze for AddPollAnswer
impl RefUnwindSafe for AddPollAnswer
impl Send for AddPollAnswer
impl Sync for AddPollAnswer
impl Unpin for AddPollAnswer
impl UnsafeUnpin for AddPollAnswer
impl UnwindSafe for AddPollAnswer
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