pub struct GetPollStats {
pub dark: bool,
pub peer: InputPeer,
pub msg_id: i32,
}Expand description
Generated from:
stats.getPollStats#c27dfa68 flags:# dark:flags.0?true peer:InputPeer msg_id:int = stats.PollStatsFields§
§dark: bool§peer: InputPeer§msg_id: i32Trait Implementations§
Source§impl Clone for GetPollStats
impl Clone for GetPollStats
Source§fn clone(&self) -> GetPollStats
fn clone(&self) -> GetPollStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetPollStats
impl Debug for GetPollStats
Source§impl Deserializable for GetPollStats
impl Deserializable for GetPollStats
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 GetPollStats
impl Identifiable for GetPollStats
Source§const CONSTRUCTOR_ID: u32 = 0xc27dfa68
const CONSTRUCTOR_ID: u32 = 0xc27dfa68
The constructor ID as specified in the TL schema.
Source§impl PartialEq for GetPollStats
impl PartialEq for GetPollStats
Source§fn eq(&self, other: &GetPollStats) -> bool
fn eq(&self, other: &GetPollStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RemoteCall for GetPollStats
impl RemoteCall for GetPollStats
Source§impl Serializable for GetPollStats
impl Serializable for GetPollStats
impl StructuralPartialEq for GetPollStats
Auto Trait Implementations§
impl Freeze for GetPollStats
impl RefUnwindSafe for GetPollStats
impl Send for GetPollStats
impl Sync for GetPollStats
impl Unpin for GetPollStats
impl UnsafeUnpin for GetPollStats
impl UnwindSafe for GetPollStats
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