Struct aws_sdk_opensearch::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 a given instance type and for each of its roles.
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>>
Storage-related attributes that are available for a given instance type.
instance_limits: Option<InstanceLimits>
The limits for a given instance type.
additional_limits: Option<Vec<AdditionalLimit>>
List of additional limits that are specific to a given instance type for each of its instance roles.
Implementations§
source§impl Limits
impl Limits
sourcepub fn storage_types(&self) -> &[StorageType]
pub fn storage_types(&self) -> &[StorageType]
Storage-related attributes that are available for a given instance type.
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>
The limits for a given instance type.
sourcepub fn additional_limits(&self) -> &[AdditionalLimit]
pub fn additional_limits(&self) -> &[AdditionalLimit]
List of additional limits that are specific to a given instance type for each of its instance roles.
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§
source§impl PartialEq for Limits
impl PartialEq for Limits
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§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