Struct telegram_bot_api::methods::GetWebhookInfo
source · [−]pub struct GetWebhookInfo {}
Expand description
Use this method to get current webhook status. Requires no parameters. On success, returns a WebhookInfo object. If the bot is using getUpdates, will return an object with the url field empty.
Implementations
sourceimpl GetWebhookInfo
impl GetWebhookInfo
Trait Implementations
sourceimpl Clone for GetWebhookInfo
impl Clone for GetWebhookInfo
sourcefn clone(&self) -> GetWebhookInfo
fn clone(&self) -> GetWebhookInfo
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetWebhookInfo
impl Debug for GetWebhookInfo
sourceimpl<'de> Deserialize<'de> for GetWebhookInfo
impl<'de> Deserialize<'de> for GetWebhookInfo
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 Methods for GetWebhookInfo
impl Methods for GetWebhookInfo
sourceimpl Serialize for GetWebhookInfo
impl Serialize for GetWebhookInfo
Auto Trait Implementations
impl RefUnwindSafe for GetWebhookInfo
impl Send for GetWebhookInfo
impl Sync for GetWebhookInfo
impl Unpin for GetWebhookInfo
impl UnwindSafe for GetWebhookInfo
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