pub struct UpdateWebhookParamsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> UpdateWebhookParamsBuilder<S>
impl<S: State> UpdateWebhookParamsBuilder<S>
Sourcepub fn build(self) -> UpdateWebhookParamswhere
S: IsComplete,
pub fn build(self) -> UpdateWebhookParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn webhook_id(
self,
value: String,
) -> UpdateWebhookParamsBuilder<SetWebhookId<S>>where
S::WebhookId: IsUnset,
pub fn webhook_id(
self,
value: String,
) -> UpdateWebhookParamsBuilder<SetWebhookId<S>>where
S::WebhookId: IsUnset,
Required.
The unique identifier of the webhook
Sourcepub fn update_webhook_request(
self,
value: UpdateWebhookRequest,
) -> UpdateWebhookParamsBuilder<SetUpdateWebhookRequest<S>>where
S::UpdateWebhookRequest: IsUnset,
pub fn update_webhook_request(
self,
value: UpdateWebhookRequest,
) -> UpdateWebhookParamsBuilder<SetUpdateWebhookRequest<S>>where
S::UpdateWebhookRequest: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for UpdateWebhookParamsBuilder<S>
impl<S> RefUnwindSafe for UpdateWebhookParamsBuilder<S>
impl<S> Send for UpdateWebhookParamsBuilder<S>
impl<S> Sync for UpdateWebhookParamsBuilder<S>
impl<S> Unpin for UpdateWebhookParamsBuilder<S>
impl<S> UnwindSafe for UpdateWebhookParamsBuilder<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