[−][src]Struct tbot::types::webhook_info::WebhookInfo
Represents WebhookInfo
.
Fields
url: String
The URL to which Telegram sends Webhook updates.
has_custom_certificate: bool
true
if a custom certificate was provided.
pending_update_count: u32
Number of pending updates.
last_error: Option<LastError>
Information about the last error that happened during sending an update.
max_connections: Option<u8>
Maximum allowed number of connections at a time.
allowed_updates: Option<Vec<Updates>>
A list of updates the bot is subscribed to.
Trait Implementations
impl Clone for WebhookInfo
[src]
fn clone(&self) -> WebhookInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for WebhookInfo
[src]
impl PartialEq<WebhookInfo> for WebhookInfo
[src]
fn eq(&self, other: &WebhookInfo) -> bool
[src]
fn ne(&self, other: &WebhookInfo) -> bool
[src]
impl Debug for WebhookInfo
[src]
impl Hash for WebhookInfo
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'de> Deserialize<'de> for WebhookInfo
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for WebhookInfo
impl Sync for WebhookInfo
impl Unpin for WebhookInfo
impl UnwindSafe for WebhookInfo
impl RefUnwindSafe for WebhookInfo
Blanket Implementations
impl<T> From<T> for T
[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.
fn to_owned(&self) -> T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,