pub struct PollOptionAdded {
pub poll_message: Option<MaybeInaccessibleMessage>,
pub option_persistent_id: String,
pub option_text: String,
pub option_text_entities: Option<Vec<MessageEntity>>,
}Expand description
Service message: a new option was added to a poll.
Fields§
§poll_message: Option<MaybeInaccessibleMessage>Message containing the poll to which the option was added.
union type here. Will not contain reply_to_message.
option_persistent_id: StringPersistent identifier of the added option.
option_text: StringText of the added option.
option_text_entities: Option<Vec<MessageEntity>>Special entities in the option text.
Trait Implementations§
Source§impl Clone for PollOptionAdded
impl Clone for PollOptionAdded
Source§fn clone(&self) -> PollOptionAdded
fn clone(&self) -> PollOptionAdded
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 PollOptionAdded
impl Debug for PollOptionAdded
Source§impl<'de> Deserialize<'de> for PollOptionAdded
impl<'de> Deserialize<'de> for PollOptionAdded
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PollOptionAdded
impl RefUnwindSafe for PollOptionAdded
impl Send for PollOptionAdded
impl Sync for PollOptionAdded
impl Unpin for PollOptionAdded
impl UnsafeUnpin for PollOptionAdded
impl UnwindSafe for PollOptionAdded
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