pub struct PollStats {
pub votes_graph: StatsGraph,
}Expand description
Fields§
§votes_graph: StatsGraphTrait Implementations§
Source§impl Deserializable for PollStats
impl Deserializable for PollStats
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 PollStats
impl Identifiable for PollStats
Source§const CONSTRUCTOR_ID: u32 = 0x2999beed
const CONSTRUCTOR_ID: u32 = 0x2999beed
The constructor ID as specified in the TL schema.
Source§impl Serializable for PollStats
impl Serializable for PollStats
impl StructuralPartialEq for PollStats
Auto Trait Implementations§
impl Freeze for PollStats
impl RefUnwindSafe for PollStats
impl Send for PollStats
impl Sync for PollStats
impl Unpin for PollStats
impl UnsafeUnpin for PollStats
impl UnwindSafe for PollStats
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