Struct aws_sdk_elasticsearch::types::Limits
source · #[non_exhaustive]pub struct Limits {
pub storage_types: Option<Vec<StorageType>>,
pub instance_limits: Option<InstanceLimits>,
pub additional_limits: Option<Vec<AdditionalLimit>>,
}
Expand description
Limits for given InstanceType and for each of it's role.
Limits contains following
StorageTypes,
and InstanceLimits
AdditionalLimits
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.storage_types: Option<Vec<StorageType>>
StorageType represents the list of storage related types and attributes that are available for given InstanceType.
instance_limits: Option<InstanceLimits>
InstanceLimits represents the list of instance related attributes that are available for given InstanceType.
additional_limits: Option<Vec<AdditionalLimit>>
List of additional limits that are specific to a given InstanceType and for each of it's
. InstanceRole
Implementations§
source§impl Limits
impl Limits
sourcepub fn storage_types(&self) -> &[StorageType]
pub fn storage_types(&self) -> &[StorageType]
StorageType represents the list of storage related types and attributes that are available for given InstanceType.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .storage_types.is_none()
.
sourcepub fn instance_limits(&self) -> Option<&InstanceLimits>
pub fn instance_limits(&self) -> Option<&InstanceLimits>
InstanceLimits represents the list of instance related attributes that are available for given InstanceType.
sourcepub fn additional_limits(&self) -> &[AdditionalLimit]
pub fn additional_limits(&self) -> &[AdditionalLimit]
List of additional limits that are specific to a given InstanceType and for each of it's
. InstanceRole
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_limits.is_none()
.