pub struct GenerateCertificateRequestBuilder { /* private fields */ }
Expand description
Builder for GenerateCertificateRequest
.
Implementations§
source§impl GenerateCertificateRequestBuilder
impl GenerateCertificateRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn role<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn alt_names<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn common_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn exclude_cn_from_sans<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn format<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn ip_sans<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn other_sans<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn private_key_format<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn ttl<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn uri_sans<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn remove_roots_from_chain<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
sourcepub fn build(
&self,
) -> Result<GenerateCertificateRequest, GenerateCertificateRequestBuilderError>
pub fn build( &self, ) -> Result<GenerateCertificateRequest, GenerateCertificateRequestBuilderError>
Trait Implementations§
source§impl Clone for GenerateCertificateRequestBuilder
impl Clone for GenerateCertificateRequestBuilder
source§fn clone(&self) -> GenerateCertificateRequestBuilder
fn clone(&self) -> GenerateCertificateRequestBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GenerateCertificateRequestBuilder
impl RefUnwindSafe for GenerateCertificateRequestBuilder
impl Send for GenerateCertificateRequestBuilder
impl Sync for GenerateCertificateRequestBuilder
impl Unpin for GenerateCertificateRequestBuilder
impl UnwindSafe for GenerateCertificateRequestBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)