#[non_exhaustive]pub struct InstancesListServerCasResponse {
pub certs: Vec<SslCert>,
pub active_version: String,
pub kind: String,
/* private fields */
}
Expand description
Instances ListServerCas 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.certs: Vec<SslCert>
List of server CA certificates for the instance.
active_version: String
§kind: String
This is always sql#instancesListServerCas
.
Implementations§
Source§impl InstancesListServerCasResponse
impl InstancesListServerCasResponse
pub fn new() -> Self
Sourcepub fn set_active_version<T: Into<String>>(self, v: T) -> Self
pub fn set_active_version<T: Into<String>>(self, v: T) -> Self
Sets the value of active_version.
Trait Implementations§
Source§impl Clone for InstancesListServerCasResponse
impl Clone for InstancesListServerCasResponse
Source§fn clone(&self) -> InstancesListServerCasResponse
fn clone(&self) -> InstancesListServerCasResponse
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 Default for InstancesListServerCasResponse
impl Default for InstancesListServerCasResponse
Source§fn default() -> InstancesListServerCasResponse
fn default() -> InstancesListServerCasResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstancesListServerCasResponse
impl PartialEq for InstancesListServerCasResponse
Source§fn eq(&self, other: &InstancesListServerCasResponse) -> bool
fn eq(&self, other: &InstancesListServerCasResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InstancesListServerCasResponse
Auto Trait Implementations§
impl Freeze for InstancesListServerCasResponse
impl RefUnwindSafe for InstancesListServerCasResponse
impl Send for InstancesListServerCasResponse
impl Sync for InstancesListServerCasResponse
impl Unpin for InstancesListServerCasResponse
impl UnwindSafe for InstancesListServerCasResponse
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