Struct telegram_bot_raw_ars::requests::_base::HttpRequest
source · pub struct HttpRequest {
pub url: RequestUrl,
pub method: Method,
pub body: Body,
}
Fields§
§url: RequestUrl
§method: Method
§body: Body
Implementations§
Trait Implementations§
source§impl Clone for HttpRequest
impl Clone for HttpRequest
source§fn clone(&self) -> HttpRequest
fn clone(&self) -> HttpRequest
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 Debug for HttpRequest
impl Debug for HttpRequest
source§impl Hash for HttpRequest
impl Hash for HttpRequest
source§impl Ord for HttpRequest
impl Ord for HttpRequest
source§fn cmp(&self, other: &HttpRequest) -> Ordering
fn cmp(&self, other: &HttpRequest) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HttpRequest> for HttpRequest
impl PartialEq<HttpRequest> for HttpRequest
source§fn eq(&self, other: &HttpRequest) -> bool
fn eq(&self, other: &HttpRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<HttpRequest> for HttpRequest
impl PartialOrd<HttpRequest> for HttpRequest
source§fn partial_cmp(&self, other: &HttpRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &HttpRequest) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more