#[non_exhaustive]pub struct SslCertsInsertResponse {
pub kind: String,
pub operation: Option<Operation>,
pub server_ca_cert: Option<SslCert>,
pub client_cert: Option<SslCertDetail>,
/* private fields */
}
Expand description
SslCert insert response.
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.kind: String
This is always sql#sslCertsInsert
.
operation: Option<Operation>
The operation to track the ssl certs insert request.
server_ca_cert: Option<SslCert>
The server Certificate Authority’s certificate. If this is missing you can force a new one to be generated by calling resetSslConfig method on instances resource.
client_cert: Option<SslCertDetail>
The new client certificate and private key.
Implementations§
Source§impl SslCertsInsertResponse
impl SslCertsInsertResponse
pub fn new() -> Self
Sourcepub fn set_operation<T>(self, v: T) -> Self
pub fn set_operation<T>(self, v: T) -> Self
Sets the value of operation.
Sourcepub fn set_or_clear_operation<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_operation<T>(self, v: Option<T>) -> Self
Sets or clears the value of operation.
Sourcepub fn set_server_ca_cert<T>(self, v: T) -> Self
pub fn set_server_ca_cert<T>(self, v: T) -> Self
Sets the value of server_ca_cert.
Sourcepub fn set_or_clear_server_ca_cert<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_server_ca_cert<T>(self, v: Option<T>) -> Self
Sets or clears the value of server_ca_cert.
Sourcepub fn set_client_cert<T>(self, v: T) -> Selfwhere
T: Into<SslCertDetail>,
pub fn set_client_cert<T>(self, v: T) -> Selfwhere
T: Into<SslCertDetail>,
Sets the value of client_cert.
Sourcepub fn set_or_clear_client_cert<T>(self, v: Option<T>) -> Selfwhere
T: Into<SslCertDetail>,
pub fn set_or_clear_client_cert<T>(self, v: Option<T>) -> Selfwhere
T: Into<SslCertDetail>,
Sets or clears the value of client_cert.
Trait Implementations§
Source§impl Clone for SslCertsInsertResponse
impl Clone for SslCertsInsertResponse
Source§fn clone(&self) -> SslCertsInsertResponse
fn clone(&self) -> SslCertsInsertResponse
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 SslCertsInsertResponse
impl Debug for SslCertsInsertResponse
Source§impl Default for SslCertsInsertResponse
impl Default for SslCertsInsertResponse
Source§fn default() -> SslCertsInsertResponse
fn default() -> SslCertsInsertResponse
Returns the “default value” for a type. Read more
Source§impl Message for SslCertsInsertResponse
impl Message for SslCertsInsertResponse
Source§impl PartialEq for SslCertsInsertResponse
impl PartialEq for SslCertsInsertResponse
impl StructuralPartialEq for SslCertsInsertResponse
Auto Trait Implementations§
impl Freeze for SslCertsInsertResponse
impl RefUnwindSafe for SslCertsInsertResponse
impl Send for SslCertsInsertResponse
impl Sync for SslCertsInsertResponse
impl Unpin for SslCertsInsertResponse
impl UnwindSafe for SslCertsInsertResponse
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