Struct google_sql1_beta4::api::DemoteMasterContext [−][src]
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.
replica_configuration: Option<DemoteMasterConfiguration>Configuration specific to read-replicas replicating from the on-premises master.
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.
Trait Implementations
impl Clone for DemoteMasterContext[src]
fn clone(&self) -> DemoteMasterContext[src]
pub 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,
pub 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> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[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.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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>,