@@ -53,26 +53,26 @@ impl Default for WebhookOptions {
5353}
5454
5555impl WebhookOptions {
56- /// Returns the default [`OptionsBuilder `] which allows to selectively
56+ /// Returns the default [`WebhookOptionsBuilder `] which allows to selectively
5757 /// customize the options. See the documentation for [`WebhookOptions`] for more
5858 /// information on available functions.
59- pub fn builder ( ) -> OptionsBuilder {
60- OptionsBuilder :: default ( )
59+ pub fn builder ( ) -> WebhookOptionsBuilder {
60+ WebhookOptionsBuilder :: default ( )
6161 }
6262}
6363
64- /// The [`OptionsBuilder `] which allows to selectively customize the webhook
64+ /// The [`WebhookOptionsBuilder `] which allows to selectively customize the webhook
6565/// server [`WebhookOptions`].
6666///
6767/// Usually, this struct is not constructed manually, but instead by calling
68- /// [`WebhookOptions::builder()`] or [`OptionsBuilder ::default()`].
68+ /// [`WebhookOptions::builder()`] or [`WebhookOptionsBuilder ::default()`].
6969#[ derive( Debug , Default ) ]
70- pub struct OptionsBuilder {
70+ pub struct WebhookOptionsBuilder {
7171 socket_addr : Option < SocketAddr > ,
7272 subject_alterative_dns_names : Vec < String > ,
7373}
7474
75- impl OptionsBuilder {
75+ impl WebhookOptionsBuilder {
7676 /// Sets the socket address the webhook server uses to bind for HTTPS.
7777 pub fn bind_address ( mut self , bind_ip : impl Into < IpAddr > , bind_port : u16 ) -> Self {
7878 self . socket_addr = Some ( SocketAddr :: new ( bind_ip. into ( ) , bind_port) ) ;
0 commit comments