pub struct SetWebhook<'src> {
pub url: Cow<'src, str>,
pub drop_pending_updates: bool,
pub secret_token: Cow<'src, str>,
/* private fields */
}Expand description
Fields§
§url: Cow<'src, str>§drop_pending_updates: bool§secret_token: Cow<'src, str>Implementations§
Trait Implementations§
Source§impl<'src> Clone for SetWebhook<'src>
impl<'src> Clone for SetWebhook<'src>
Source§fn clone(&self) -> SetWebhook<'src>
fn clone(&self) -> SetWebhook<'src>
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<'src> Debug for SetWebhook<'src>
impl<'src> Debug for SetWebhook<'src>
Source§impl<'src> IntoFuture for SetWebhook<'src>
impl<'src> IntoFuture for SetWebhook<'src>
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetWebhook<'src> as IntoFuture>::Output> + Sync + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetWebhook<'src> as IntoFuture>::Output> + Sync + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl<'src> Request for SetWebhook<'src>
impl<'src> Request for SetWebhook<'src>
Auto Trait Implementations§
impl<'src> Freeze for SetWebhook<'src>
impl<'src> !RefUnwindSafe for SetWebhook<'src>
impl<'src> Send for SetWebhook<'src>
impl<'src> Sync for SetWebhook<'src>
impl<'src> Unpin for SetWebhook<'src>
impl<'src> !UnwindSafe for SetWebhook<'src>
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