pub struct SetBotCallbackAnswer {
pub alert: bool,
pub query_id: i64,
pub message: Option<String>,
pub url: Option<String>,
pub cache_time: i32,
}Expand description
Generated from:
messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = BoolFields§
§alert: bool§query_id: i64§message: Option<String>§url: Option<String>§cache_time: i32Trait Implementations§
Source§impl Clone for SetBotCallbackAnswer
impl Clone for SetBotCallbackAnswer
Source§fn clone(&self) -> SetBotCallbackAnswer
fn clone(&self) -> SetBotCallbackAnswer
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 SetBotCallbackAnswer
impl Debug for SetBotCallbackAnswer
Source§impl Identifiable for SetBotCallbackAnswer
impl Identifiable for SetBotCallbackAnswer
Source§const CONSTRUCTOR_ID: u32 = 0xd58f130a
const CONSTRUCTOR_ID: u32 = 0xd58f130a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SetBotCallbackAnswer
impl PartialEq for SetBotCallbackAnswer
Source§impl RemoteCall for SetBotCallbackAnswer
impl RemoteCall for SetBotCallbackAnswer
Source§impl Serializable for SetBotCallbackAnswer
impl Serializable for SetBotCallbackAnswer
impl StructuralPartialEq for SetBotCallbackAnswer
Auto Trait Implementations§
impl Freeze for SetBotCallbackAnswer
impl RefUnwindSafe for SetBotCallbackAnswer
impl Send for SetBotCallbackAnswer
impl Sync for SetBotCallbackAnswer
impl Unpin for SetBotCallbackAnswer
impl UnsafeUnpin for SetBotCallbackAnswer
impl UnwindSafe for SetBotCallbackAnswer
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