pub struct PromoteReplicaRequest {
pub peer_instance: Option<String>,
}Expand description
PromoteReplicaRequest promotes a Filestore standby instance (replica).
§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§
§peer_instance: Option<String>Optional. The resource name of the peer instance to promote, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}. The peer instance is required if the operation is called on an active instance.
Trait Implementations§
Source§impl Clone for PromoteReplicaRequest
impl Clone for PromoteReplicaRequest
Source§fn clone(&self) -> PromoteReplicaRequest
fn clone(&self) -> PromoteReplicaRequest
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 Debug for PromoteReplicaRequest
impl Debug for PromoteReplicaRequest
Source§impl Default for PromoteReplicaRequest
impl Default for PromoteReplicaRequest
Source§fn default() -> PromoteReplicaRequest
fn default() -> PromoteReplicaRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PromoteReplicaRequest
impl<'de> Deserialize<'de> for PromoteReplicaRequest
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
Source§impl Serialize for PromoteReplicaRequest
impl Serialize for PromoteReplicaRequest
impl RequestValue for PromoteReplicaRequest
Auto Trait Implementations§
impl Freeze for PromoteReplicaRequest
impl RefUnwindSafe for PromoteReplicaRequest
impl Send for PromoteReplicaRequest
impl Sync for PromoteReplicaRequest
impl Unpin for PromoteReplicaRequest
impl UnwindSafe for PromoteReplicaRequest
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