[−][src]Struct telegram_bot::types::response_parameters::ResponseParameters
Contains information about why a request was unsuccessful.
Fields
migrate_to_chat_id: Option<i64>
The group has been migrated to a supergroup with the specified identifier.
retry_after: Option<i64>
In case of exceeding flood control, the number of seconds left to wait before the request can be repeated.
Trait Implementations
impl Clone for ResponseParameters
[src]
pub fn clone(&self) -> ResponseParameters
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ResponseParameters
[src]
impl<'de> Deserialize<'de> for ResponseParameters
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ResponseParameters, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<ResponseParameters, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for ResponseParameters
[src]
impl Hash for ResponseParameters
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ResponseParameters
[src]
pub fn cmp(&self, other: &ResponseParameters) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<ResponseParameters> for ResponseParameters
[src]
pub fn eq(&self, other: &ResponseParameters) -> bool
[src]
pub fn ne(&self, other: &ResponseParameters) -> bool
[src]
impl PartialOrd<ResponseParameters> for ResponseParameters
[src]
pub fn partial_cmp(&self, other: &ResponseParameters) -> Option<Ordering>
[src]
pub fn lt(&self, other: &ResponseParameters) -> bool
[src]
pub fn le(&self, other: &ResponseParameters) -> bool
[src]
pub fn gt(&self, other: &ResponseParameters) -> bool
[src]
pub fn ge(&self, other: &ResponseParameters) -> bool
[src]
impl StructuralEq for ResponseParameters
[src]
impl StructuralPartialEq for ResponseParameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResponseParameters
[src]
impl Send for ResponseParameters
[src]
impl Sync for ResponseParameters
[src]
impl Unpin for ResponseParameters
[src]
impl UnwindSafe for ResponseParameters
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,