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.
Trait Implementations§
Source§impl Clone for GetWebhookInfo
impl Clone for GetWebhookInfo
Source§fn clone(&self) -> GetWebhookInfo
fn clone(&self) -> GetWebhookInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Serialize for GetWebhookInfo
impl Serialize for GetWebhookInfo
Source§impl TelegramMethod for GetWebhookInfo
impl TelegramMethod for GetWebhookInfo
impl JsonMethod for GetWebhookInfo
Auto Trait Implementations§
impl Freeze for GetWebhookInfo
impl RefUnwindSafe for GetWebhookInfo
impl Send for GetWebhookInfo
impl Sync for GetWebhookInfo
impl Unpin for GetWebhookInfo
impl UnwindSafe for GetWebhookInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more