pub struct UpdateMessagePollVote {
pub poll_id: i64,
pub peer: Peer,
pub options: Vec<Vec<u8>>,
pub qts: i32,
}Expand description
Generated from:
updateMessagePollVote#24f40e77 poll_id:long peer:Peer options:Vector<bytes> qts:int = UpdateFields§
§poll_id: i64§peer: Peer§options: Vec<Vec<u8>>§qts: i32Trait Implementations§
Source§impl Clone for UpdateMessagePollVote
impl Clone for UpdateMessagePollVote
Source§fn clone(&self) -> UpdateMessagePollVote
fn clone(&self) -> UpdateMessagePollVote
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 UpdateMessagePollVote
impl Debug for UpdateMessagePollVote
Source§impl Deserializable for UpdateMessagePollVote
impl Deserializable for UpdateMessagePollVote
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 From<UpdateMessagePollVote> for Update
impl From<UpdateMessagePollVote> for Update
Source§fn from(x: UpdateMessagePollVote) -> Self
fn from(x: UpdateMessagePollVote) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateMessagePollVote
impl Identifiable for UpdateMessagePollVote
Source§const CONSTRUCTOR_ID: u32 = 0x24f40e77
const CONSTRUCTOR_ID: u32 = 0x24f40e77
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateMessagePollVote
impl PartialEq for UpdateMessagePollVote
Source§impl Serializable for UpdateMessagePollVote
impl Serializable for UpdateMessagePollVote
Source§impl TryFrom<Update> for UpdateMessagePollVote
impl TryFrom<Update> for UpdateMessagePollVote
impl StructuralPartialEq for UpdateMessagePollVote
Auto Trait Implementations§
impl Freeze for UpdateMessagePollVote
impl RefUnwindSafe for UpdateMessagePollVote
impl Send for UpdateMessagePollVote
impl Sync for UpdateMessagePollVote
impl Unpin for UpdateMessagePollVote
impl UnsafeUnpin for UpdateMessagePollVote
impl UnwindSafe for UpdateMessagePollVote
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