Struct telegram_bot_fork_raw::requests::_base::JsonRequestType
source · pub struct JsonRequestType<Request> { /* private fields */ }
Trait Implementations
sourceimpl<Request: Clone> Clone for JsonRequestType<Request>
impl<Request: Clone> Clone for JsonRequestType<Request>
sourcefn clone(&self) -> JsonRequestType<Request>
fn clone(&self) -> JsonRequestType<Request>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<Request: Debug> Debug for JsonRequestType<Request>
impl<Request: Debug> Debug for JsonRequestType<Request>
sourceimpl<'de, Request> Deserialize<'de> for JsonRequestType<Request>
impl<'de, Request> Deserialize<'de> for JsonRequestType<Request>
sourcefn 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
sourceimpl<Request: Hash> Hash for JsonRequestType<Request>
impl<Request: Hash> Hash for JsonRequestType<Request>
sourceimpl<Request: Ord> Ord for JsonRequestType<Request>
impl<Request: Ord> Ord for JsonRequestType<Request>
sourcefn cmp(&self, other: &JsonRequestType<Request>) -> Ordering
fn cmp(&self, other: &JsonRequestType<Request>) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<Request: PartialEq> PartialEq<JsonRequestType<Request>> for JsonRequestType<Request>
impl<Request: PartialEq> PartialEq<JsonRequestType<Request>> for JsonRequestType<Request>
sourcefn eq(&self, other: &JsonRequestType<Request>) -> bool
fn eq(&self, other: &JsonRequestType<Request>) -> bool
sourceimpl<Request: PartialOrd> PartialOrd<JsonRequestType<Request>> for JsonRequestType<Request>
impl<Request: PartialOrd> PartialOrd<JsonRequestType<Request>> for JsonRequestType<Request>
sourcefn partial_cmp(&self, other: &JsonRequestType<Request>) -> Option<Ordering>
fn partial_cmp(&self, other: &JsonRequestType<Request>) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl<Request: Serialize> RequestType for JsonRequestType<Request>
impl<Request: Serialize> RequestType for JsonRequestType<Request>
type Options = RequestUrl
type Request = Request
fn serialize(
url: Self::Options,
request: &Self::Request
) -> Result<HttpRequest, Error>
sourceimpl<Request> Serialize for JsonRequestType<Request>
impl<Request> Serialize for JsonRequestType<Request>
impl<Request: Copy> Copy for JsonRequestType<Request>
impl<Request: Eq> Eq for JsonRequestType<Request>
impl<Request> StructuralEq for JsonRequestType<Request>
impl<Request> StructuralPartialEq for JsonRequestType<Request>
Auto Trait Implementations
impl<Request> RefUnwindSafe for JsonRequestType<Request>where
Request: RefUnwindSafe,
impl<Request> Send for JsonRequestType<Request>where
Request: Send,
impl<Request> Sync for JsonRequestType<Request>where
Request: Sync,
impl<Request> Unpin for JsonRequestType<Request>where
Request: Unpin,
impl<Request> UnwindSafe for JsonRequestType<Request>where
Request: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more