Struct botapi::gen_types::NoSkipPollAnswer
source · pub struct NoSkipPollAnswer { /* private fields */ }
Expand description
Companion type to PollAnswer that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Implementations§
source§impl NoSkipPollAnswer
impl NoSkipPollAnswer
pub fn skip(self) -> PollAnswer
Trait Implementations§
source§impl Clone for NoSkipPollAnswer
impl Clone for NoSkipPollAnswer
source§fn clone(&self) -> NoSkipPollAnswer
fn clone(&self) -> NoSkipPollAnswer
Returns a copy 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 NoSkipPollAnswer
impl Debug for NoSkipPollAnswer
source§impl Default for NoSkipPollAnswer
impl Default for NoSkipPollAnswer
source§fn default() -> NoSkipPollAnswer
fn default() -> NoSkipPollAnswer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NoSkipPollAnswer
impl<'de> Deserialize<'de> for NoSkipPollAnswer
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
source§impl From<NoSkipPollAnswer> for PollAnswer
impl From<NoSkipPollAnswer> for PollAnswer
source§fn from(t: NoSkipPollAnswer) -> Self
fn from(t: NoSkipPollAnswer) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipPollAnswer> for PollAnswer
impl Into<NoSkipPollAnswer> for PollAnswer
source§fn into(self) -> NoSkipPollAnswer
fn into(self) -> NoSkipPollAnswer
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for NoSkipPollAnswer
impl Send for NoSkipPollAnswer
impl Sync for NoSkipPollAnswer
impl Unpin for NoSkipPollAnswer
impl UnwindSafe for NoSkipPollAnswer
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