#[non_exhaustive]pub struct SslCertsInsertRequest {
pub common_name: String,
/* private fields */
}
Expand description
SslCerts insert request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.common_name: String
User supplied name. Must be a distinct name from the other certificates for this instance.
Implementations§
Source§impl SslCertsInsertRequest
impl SslCertsInsertRequest
pub fn new() -> Self
Sourcepub fn set_common_name<T: Into<String>>(self, v: T) -> Self
pub fn set_common_name<T: Into<String>>(self, v: T) -> Self
Sets the value of common_name.
Trait Implementations§
Source§impl Clone for SslCertsInsertRequest
impl Clone for SslCertsInsertRequest
Source§fn clone(&self) -> SslCertsInsertRequest
fn clone(&self) -> SslCertsInsertRequest
Returns a duplicate 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 moreSource§impl Debug for SslCertsInsertRequest
impl Debug for SslCertsInsertRequest
Source§impl Default for SslCertsInsertRequest
impl Default for SslCertsInsertRequest
Source§fn default() -> SslCertsInsertRequest
fn default() -> SslCertsInsertRequest
Returns the “default value” for a type. Read more
Source§impl Message for SslCertsInsertRequest
impl Message for SslCertsInsertRequest
Source§impl PartialEq for SslCertsInsertRequest
impl PartialEq for SslCertsInsertRequest
impl StructuralPartialEq for SslCertsInsertRequest
Auto Trait Implementations§
impl Freeze for SslCertsInsertRequest
impl RefUnwindSafe for SslCertsInsertRequest
impl Send for SslCertsInsertRequest
impl Sync for SslCertsInsertRequest
impl Unpin for SslCertsInsertRequest
impl UnwindSafe for SslCertsInsertRequest
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