#[non_exhaustive]pub struct StopReplicationRequest {
pub name: String,
pub force: bool,
/* private fields */
}Expand description
StopReplicationRequest stops a replication until resumed.
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.name: StringRequired. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
force: boolIndicates whether to stop replication forcefully while data transfer is in progress. Warning! if force is true, this will abort any current transfers and can lead to data loss due to partial transfer. If force is false, stop replication will fail while data transfer is in progress and you will need to retry later.
Implementations§
Trait Implementations§
Source§impl Clone for StopReplicationRequest
impl Clone for StopReplicationRequest
Source§fn clone(&self) -> StopReplicationRequest
fn clone(&self) -> StopReplicationRequest
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 StopReplicationRequest
impl Debug for StopReplicationRequest
Source§impl Default for StopReplicationRequest
impl Default for StopReplicationRequest
Source§fn default() -> StopReplicationRequest
fn default() -> StopReplicationRequest
Returns the “default value” for a type. Read more
Source§impl Message for StopReplicationRequest
impl Message for StopReplicationRequest
Source§impl PartialEq for StopReplicationRequest
impl PartialEq for StopReplicationRequest
impl StructuralPartialEq for StopReplicationRequest
Auto Trait Implementations§
impl Freeze for StopReplicationRequest
impl RefUnwindSafe for StopReplicationRequest
impl Send for StopReplicationRequest
impl Sync for StopReplicationRequest
impl Unpin for StopReplicationRequest
impl UnsafeUnpin for StopReplicationRequest
impl UnwindSafe for StopReplicationRequest
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