pub struct MessageMediaPoll {
pub poll: Poll,
pub results: PollResults,
}Expand description
Generated from:
messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMediaFields§
§poll: Poll§results: PollResultsTrait Implementations§
Source§impl Clone for MessageMediaPoll
impl Clone for MessageMediaPoll
Source§fn clone(&self) -> MessageMediaPoll
fn clone(&self) -> MessageMediaPoll
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 MessageMediaPoll
impl Debug for MessageMediaPoll
Source§impl Deserializable for MessageMediaPoll
impl Deserializable for MessageMediaPoll
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<MessageMediaPoll> for MessageMedia
impl From<MessageMediaPoll> for MessageMedia
Source§fn from(x: MessageMediaPoll) -> Self
fn from(x: MessageMediaPoll) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageMediaPoll
impl Identifiable for MessageMediaPoll
Source§const CONSTRUCTOR_ID: u32 = 0x4bd6e798
const CONSTRUCTOR_ID: u32 = 0x4bd6e798
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageMediaPoll
impl PartialEq for MessageMediaPoll
Source§impl Serializable for MessageMediaPoll
impl Serializable for MessageMediaPoll
Source§impl TryFrom<MessageMedia> for MessageMediaPoll
impl TryFrom<MessageMedia> for MessageMediaPoll
Source§type Error = MessageMedia
type Error = MessageMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageMediaPoll
Auto Trait Implementations§
impl Freeze for MessageMediaPoll
impl RefUnwindSafe for MessageMediaPoll
impl Send for MessageMediaPoll
impl Sync for MessageMediaPoll
impl Unpin for MessageMediaPoll
impl UnsafeUnpin for MessageMediaPoll
impl UnwindSafe for MessageMediaPoll
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