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§
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 Debug for GetWebhookInfo
impl Debug for GetWebhookInfo
Source§impl<'de> Deserialize<'de> for GetWebhookInfo
impl<'de> Deserialize<'de> for GetWebhookInfo
Source§fn 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
Source§impl Methods for GetWebhookInfo
impl Methods 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