#[non_exhaustive]pub struct ReplicationConfigurationReplicatedDisk {
pub device_name: Option<String>,
pub is_boot_disk: Option<bool>,
pub staging_disk_type: Option<ReplicationConfigurationReplicatedDiskStagingDiskType>,
pub iops: i64,
pub throughput: i64,
pub optimized_staging_disk_type: Option<ReplicationConfigurationReplicatedDiskStagingDiskType>,
}Expand description
The configuration of a disk of the Source Server to be replicated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.device_name: Option<String>The name of the device.
is_boot_disk: Option<bool>Whether to boot from this disk or not.
staging_disk_type: Option<ReplicationConfigurationReplicatedDiskStagingDiskType>The Staging Disk EBS volume type to be used during replication.
iops: i64The requested number of I/O operations per second (IOPS).
throughput: i64The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.
optimized_staging_disk_type: Option<ReplicationConfigurationReplicatedDiskStagingDiskType>The Staging Disk EBS volume type to be used during replication when stagingDiskType is set to Auto. This is a read-only field.
Implementations§
source§impl ReplicationConfigurationReplicatedDisk
impl ReplicationConfigurationReplicatedDisk
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The name of the device.
sourcepub fn is_boot_disk(&self) -> Option<bool>
pub fn is_boot_disk(&self) -> Option<bool>
Whether to boot from this disk or not.
sourcepub fn staging_disk_type(
&self,
) -> Option<&ReplicationConfigurationReplicatedDiskStagingDiskType>
pub fn staging_disk_type( &self, ) -> Option<&ReplicationConfigurationReplicatedDiskStagingDiskType>
The Staging Disk EBS volume type to be used during replication.
sourcepub fn throughput(&self) -> i64
pub fn throughput(&self) -> i64
The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.
sourcepub fn optimized_staging_disk_type(
&self,
) -> Option<&ReplicationConfigurationReplicatedDiskStagingDiskType>
pub fn optimized_staging_disk_type( &self, ) -> Option<&ReplicationConfigurationReplicatedDiskStagingDiskType>
The Staging Disk EBS volume type to be used during replication when stagingDiskType is set to Auto. This is a read-only field.
source§impl ReplicationConfigurationReplicatedDisk
impl ReplicationConfigurationReplicatedDisk
sourcepub fn builder() -> ReplicationConfigurationReplicatedDiskBuilder
pub fn builder() -> ReplicationConfigurationReplicatedDiskBuilder
Creates a new builder-style object to manufacture ReplicationConfigurationReplicatedDisk.
Trait Implementations§
source§impl Clone for ReplicationConfigurationReplicatedDisk
impl Clone for ReplicationConfigurationReplicatedDisk
source§fn clone(&self) -> ReplicationConfigurationReplicatedDisk
fn clone(&self) -> ReplicationConfigurationReplicatedDisk
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ReplicationConfigurationReplicatedDisk
impl PartialEq for ReplicationConfigurationReplicatedDisk
source§fn eq(&self, other: &ReplicationConfigurationReplicatedDisk) -> bool
fn eq(&self, other: &ReplicationConfigurationReplicatedDisk) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ReplicationConfigurationReplicatedDisk
Auto Trait Implementations§
impl Freeze for ReplicationConfigurationReplicatedDisk
impl RefUnwindSafe for ReplicationConfigurationReplicatedDisk
impl Send for ReplicationConfigurationReplicatedDisk
impl Sync for ReplicationConfigurationReplicatedDisk
impl Unpin for ReplicationConfigurationReplicatedDisk
impl UnwindSafe for ReplicationConfigurationReplicatedDisk
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more