pub struct DirectoryBuilder { /* private fields */ }Expand description
An builder that is used create a Directory.
Implementations§
Source§impl DirectoryBuilder
impl DirectoryBuilder
Sourcepub fn new(url: String) -> Self
pub fn new(url: String) -> Self
Creates a new builder with the specified directory root URL.
Let’s Encrypt: https://acme-v02.api.letsencrypt.org/directory
Let’s Encrypt Staging: https://acme-staging-v02.api.letsencrypt.org/directory
Sourcepub fn http_client(&mut self, http_client: Client) -> &mut Self
pub fn http_client(&mut self, http_client: Client) -> &mut Self
Specify a custom reqwest::Client to use for all outbound HTTP
requests to the ACME server.
Auto Trait Implementations§
impl Freeze for DirectoryBuilder
impl !RefUnwindSafe for DirectoryBuilder
impl Send for DirectoryBuilder
impl Sync for DirectoryBuilder
impl Unpin for DirectoryBuilder
impl !UnwindSafe for DirectoryBuilder
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more