[−][src]Struct google_sql1_beta4::DemoteMasterContext
Database instance demote master context.
This type is not used in any activity, and only used as part of another schema.
Fields
kind: Option<String>
This is always sql#demoteMasterContext
.
master_instance_name: Option<String>
The name of the instance which will act as on-premises master in the replication setup.
verify_gtid_consistency: Option<bool>
Verify GTID consistency for demote operation. Default value:
True
. Second Generation instances only. Setting this flag to
false enables you to bypass GTID consistency check between on-premises
master and Cloud SQL instance during the demotion operation but also
exposes you to the risk of future replication failures. Change the value
only if you know the reason for the GTID divergence and are confident that
doing so will not cause any replication issues.
replica_configuration: Option<DemoteMasterConfiguration>
Configuration specific to read-replicas replicating from the on-premises master.
Trait Implementations
impl Clone for DemoteMasterContext
[src]
fn clone(&self) -> DemoteMasterContext
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DemoteMasterContext
[src]
impl Default for DemoteMasterContext
[src]
fn default() -> DemoteMasterContext
[src]
impl<'de> Deserialize<'de> for DemoteMasterContext
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for DemoteMasterContext
[src]
impl Serialize for DemoteMasterContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for DemoteMasterContext
impl Send for DemoteMasterContext
impl Sync for DemoteMasterContext
impl Unpin for DemoteMasterContext
impl UnwindSafe for DemoteMasterContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,