#[non_exhaustive]pub struct InstancesRotateServerCertificateRequest {
pub rotate_server_certificate_context: Option<RotateServerCertificateContext>,
/* private fields */
}Expand description
Rotate server certificate 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.rotate_server_certificate_context: Option<RotateServerCertificateContext>Optional. Contains details about the rotate server certificate operation.
Implementations§
Source§impl InstancesRotateServerCertificateRequest
impl InstancesRotateServerCertificateRequest
Sourcepub fn set_rotate_server_certificate_context<T>(self, v: T) -> Selfwhere
T: Into<RotateServerCertificateContext>,
pub fn set_rotate_server_certificate_context<T>(self, v: T) -> Selfwhere
T: Into<RotateServerCertificateContext>,
Sets the value of rotate_server_certificate_context.
§Example
ⓘ
use google_cloud_sql_v1::model::RotateServerCertificateContext;
let x = InstancesRotateServerCertificateRequest::new().set_rotate_server_certificate_context(RotateServerCertificateContext::default()/* use setters */);Sourcepub fn set_or_clear_rotate_server_certificate_context<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<RotateServerCertificateContext>,
pub fn set_or_clear_rotate_server_certificate_context<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<RotateServerCertificateContext>,
Sets or clears the value of rotate_server_certificate_context.
§Example
ⓘ
use google_cloud_sql_v1::model::RotateServerCertificateContext;
let x = InstancesRotateServerCertificateRequest::new().set_or_clear_rotate_server_certificate_context(Some(RotateServerCertificateContext::default()/* use setters */));
let x = InstancesRotateServerCertificateRequest::new().set_or_clear_rotate_server_certificate_context(None::<RotateServerCertificateContext>);Trait Implementations§
impl StructuralPartialEq for InstancesRotateServerCertificateRequest
Auto Trait Implementations§
impl Freeze for InstancesRotateServerCertificateRequest
impl RefUnwindSafe for InstancesRotateServerCertificateRequest
impl Send for InstancesRotateServerCertificateRequest
impl Sync for InstancesRotateServerCertificateRequest
impl Unpin for InstancesRotateServerCertificateRequest
impl UnsafeUnpin for InstancesRotateServerCertificateRequest
impl UnwindSafe for InstancesRotateServerCertificateRequest
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