pub struct ReadPollVotes {
pub peer: InputPeer,
pub top_msg_id: Option<i32>,
}Expand description
Generated from:
messages.readPollVotes#1720b4d8 flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistoryFields§
§peer: InputPeer§top_msg_id: Option<i32>Trait Implementations§
Source§impl Clone for ReadPollVotes
impl Clone for ReadPollVotes
Source§fn clone(&self) -> ReadPollVotes
fn clone(&self) -> ReadPollVotes
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 ReadPollVotes
impl Debug for ReadPollVotes
Source§impl Deserializable for ReadPollVotes
impl Deserializable for ReadPollVotes
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 ReadPollVotes
impl Identifiable for ReadPollVotes
Source§const CONSTRUCTOR_ID: u32 = 0x1720b4d8
const CONSTRUCTOR_ID: u32 = 0x1720b4d8
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ReadPollVotes
impl PartialEq for ReadPollVotes
Source§impl RemoteCall for ReadPollVotes
impl RemoteCall for ReadPollVotes
Source§type Return = AffectedHistory
type Return = AffectedHistory
The deserialized response type.
Source§impl Serializable for ReadPollVotes
impl Serializable for ReadPollVotes
impl StructuralPartialEq for ReadPollVotes
Auto Trait Implementations§
impl Freeze for ReadPollVotes
impl RefUnwindSafe for ReadPollVotes
impl Send for ReadPollVotes
impl Sync for ReadPollVotes
impl Unpin for ReadPollVotes
impl UnsafeUnpin for ReadPollVotes
impl UnwindSafe for ReadPollVotes
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