logo
pub trait SetWebhookSetters: HasPayload<Payload = SetWebhook> + Sized {
    fn url(self, value: Url) -> Self { ... }
    fn certificate(self, value: InputFile) -> Self { ... }
    fn ip_address<T>(self, value: T) -> Self
    where
        T: Into<String>
, { ... } fn max_connections(self, value: u8) -> Self { ... } fn allowed_updates<T>(self, value: T) -> Self
    where
        T: IntoIterator<Item = AllowedUpdate>
, { ... } fn drop_pending_updates(self, value: bool) -> Self { ... } fn secret_token<T>(self, value: T) -> Self
    where
        T: Into<String>
, { ... } }
Expand description

Setters for fields of SetWebhook

Provided Methods

Setter for url field.

Setter for certificate field.

Setter for ip_address field.

Setter for max_connections field.

Setter for allowed_updates field.

Setter for drop_pending_updates field.

Setter for secret_token field.

Implementors