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