Struct telegram_bot_client::Bot
[−]
[src]
pub struct Bot { /* fields omitted */ }
Methods
impl Bot
[src]
fn request<S, D>(
&self,
endpoint: &str,
data: &S
) -> Box<Future<Item = D, Error = Error>> where
S: Serialize,
D: DeserializeOwned + 'static,
&self,
endpoint: &str,
data: &S
) -> Box<Future<Item = D, Error = Error>> where
S: Serialize,
D: DeserializeOwned + 'static,
Trait Implementations
impl Clone for Bot
[src]
fn clone(&self) -> Bot
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more