pub struct RawResponse<T> { /* private fields */ }
Expand description
Directly mapped telegram API response.
Trait Implementations
sourceimpl<T: Clone> Clone for RawResponse<T>
impl<T: Clone> Clone for RawResponse<T>
sourcefn clone(&self) -> RawResponse<T>
fn clone(&self) -> RawResponse<T>
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<T: Debug> Debug for RawResponse<T>
impl<T: Debug> Debug for RawResponse<T>
sourceimpl<'de, T> Deserialize<'de> for RawResponse<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for RawResponse<T>where
T: Deserialize<'de>,
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<T: Hash> Hash for RawResponse<T>
impl<T: Hash> Hash for RawResponse<T>
sourceimpl<T: Ord> Ord for RawResponse<T>
impl<T: Ord> Ord for RawResponse<T>
sourcefn cmp(&self, other: &RawResponse<T>) -> Ordering
fn cmp(&self, other: &RawResponse<T>) -> 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<T: PartialEq> PartialEq<RawResponse<T>> for RawResponse<T>
impl<T: PartialEq> PartialEq<RawResponse<T>> for RawResponse<T>
sourcefn eq(&self, other: &RawResponse<T>) -> bool
fn eq(&self, other: &RawResponse<T>) -> bool
sourceimpl<T: PartialOrd> PartialOrd<RawResponse<T>> for RawResponse<T>
impl<T: PartialOrd> PartialOrd<RawResponse<T>> for RawResponse<T>
sourcefn partial_cmp(&self, other: &RawResponse<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &RawResponse<T>) -> 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 moreimpl<T: Eq> Eq for RawResponse<T>
impl<T> StructuralEq for RawResponse<T>
impl<T> StructuralPartialEq for RawResponse<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for RawResponse<T>where
T: RefUnwindSafe,
impl<T> Send for RawResponse<T>where
T: Send,
impl<T> Sync for RawResponse<T>where
T: Sync,
impl<T> Unpin for RawResponse<T>where
T: Unpin,
impl<T> UnwindSafe for RawResponse<T>where
T: 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