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