pub struct UpdateWebhookOptions { /* private fields */ }Implementations§
Source§impl UpdateWebhookOptions
impl UpdateWebhookOptions
pub fn with_endpoint(self, endpoint: &str) -> Self
pub fn with_events( self, events: impl IntoIterator<Item = impl Into<EventType>>, ) -> Self
pub fn with_status(self, status: WebhookStatus) -> Self
Trait Implementations§
Source§impl Clone for UpdateWebhookOptions
impl Clone for UpdateWebhookOptions
Source§fn clone(&self) -> UpdateWebhookOptions
fn clone(&self) -> UpdateWebhookOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateWebhookOptions
impl Debug for UpdateWebhookOptions
Source§impl Default for UpdateWebhookOptions
impl Default for UpdateWebhookOptions
Source§fn default() -> UpdateWebhookOptions
fn default() -> UpdateWebhookOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateWebhookOptions
impl RefUnwindSafe for UpdateWebhookOptions
impl Send for UpdateWebhookOptions
impl Sync for UpdateWebhookOptions
impl Unpin for UpdateWebhookOptions
impl UnsafeUnpin for UpdateWebhookOptions
impl UnwindSafe for UpdateWebhookOptions
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