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