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().
Trait Implementations§
impl StructuralPartialEq for Limits
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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