pub struct UpdateWebhookBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> UpdateWebhookBuilder<S>
impl<S: State> UpdateWebhookBuilder<S>
Sourcepub fn build(self) -> UpdateWebhookwhere
S: IsComplete,
pub fn build(self) -> UpdateWebhookwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn webhook_id(
self,
value: Id<WebhookMarker>,
) -> UpdateWebhookBuilder<SetWebhookId<S>>where
S::WebhookId: IsUnset,
pub fn webhook_id(
self,
value: Id<WebhookMarker>,
) -> UpdateWebhookBuilder<SetWebhookId<S>>where
S::WebhookId: IsUnset,
Required.
Sourcepub fn body(self, value: UpdateWebhookBody) -> UpdateWebhookBuilder<SetBody<S>>where
S::Body: IsUnset,
pub fn body(self, value: UpdateWebhookBody) -> UpdateWebhookBuilder<SetBody<S>>where
S::Body: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for UpdateWebhookBuilder<S>
impl<S> RefUnwindSafe for UpdateWebhookBuilder<S>
impl<S> Send for UpdateWebhookBuilder<S>
impl<S> Sync for UpdateWebhookBuilder<S>
impl<S> Unpin for UpdateWebhookBuilder<S>
impl<S> UnsafeUnpin for UpdateWebhookBuilder<S>
impl<S> UnwindSafe for UpdateWebhookBuilder<S>
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