pub struct FetchDatabasePropertiesResponse {
pub is_failover_replica_available: Option<bool>,
pub primary_gce_zone: Option<String>,
pub secondary_gce_zone: Option<String>,
}
Expand description
Response for FetchDatabasePropertiesRequest.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§is_failover_replica_available: Option<bool>
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true.
primary_gce_zone: Option<String>
The Compute Engine zone that the instance is currently serving from.
secondary_gce_zone: Option<String>
The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.
Trait Implementations§
source§impl Clone for FetchDatabasePropertiesResponse
impl Clone for FetchDatabasePropertiesResponse
source§fn clone(&self) -> FetchDatabasePropertiesResponse
fn clone(&self) -> FetchDatabasePropertiesResponse
Returns a copy 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 FetchDatabasePropertiesResponse
impl Default for FetchDatabasePropertiesResponse
source§fn default() -> FetchDatabasePropertiesResponse
fn default() -> FetchDatabasePropertiesResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FetchDatabasePropertiesResponse
impl<'de> Deserialize<'de> for FetchDatabasePropertiesResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl ResponseResult for FetchDatabasePropertiesResponse
Auto Trait Implementations§
impl RefUnwindSafe for FetchDatabasePropertiesResponse
impl Send for FetchDatabasePropertiesResponse
impl Sync for FetchDatabasePropertiesResponse
impl Unpin for FetchDatabasePropertiesResponse
impl UnwindSafe for FetchDatabasePropertiesResponse
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