pub struct SetInlineBotResults {
pub gallery: bool,
pub private: bool,
pub query_id: i64,
pub results: Vec<InputBotInlineResult>,
pub cache_time: i32,
pub next_offset: Option<String>,
pub switch_pm: Option<InlineBotSwitchPm>,
pub switch_webview: Option<InlineBotWebView>,
}Expand description
Generated from:
messages.setInlineBotResults#bb12a419 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM switch_webview:flags.4?InlineBotWebView = BoolFields§
§gallery: bool§private: bool§query_id: i64§results: Vec<InputBotInlineResult>§cache_time: i32§next_offset: Option<String>§switch_pm: Option<InlineBotSwitchPm>§switch_webview: Option<InlineBotWebView>Trait Implementations§
Source§impl Clone for SetInlineBotResults
impl Clone for SetInlineBotResults
Source§fn clone(&self) -> SetInlineBotResults
fn clone(&self) -> SetInlineBotResults
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 SetInlineBotResults
impl Debug for SetInlineBotResults
Source§impl Identifiable for SetInlineBotResults
impl Identifiable for SetInlineBotResults
Source§const CONSTRUCTOR_ID: u32 = 0xbb12a419
const CONSTRUCTOR_ID: u32 = 0xbb12a419
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SetInlineBotResults
impl PartialEq for SetInlineBotResults
Source§impl RemoteCall for SetInlineBotResults
impl RemoteCall for SetInlineBotResults
Source§impl Serializable for SetInlineBotResults
impl Serializable for SetInlineBotResults
impl StructuralPartialEq for SetInlineBotResults
Auto Trait Implementations§
impl Freeze for SetInlineBotResults
impl RefUnwindSafe for SetInlineBotResults
impl Send for SetInlineBotResults
impl Sync for SetInlineBotResults
impl Unpin for SetInlineBotResults
impl UnsafeUnpin for SetInlineBotResults
impl UnwindSafe for SetInlineBotResults
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