#[non_exhaustive]pub struct EndpointInputConfiguration {
pub instance_type: Option<ProductionVariantInstanceType>,
pub serverless_config: Option<ProductionVariantServerlessConfig>,
pub inference_specification_name: Option<String>,
pub environment_parameter_ranges: Option<EnvironmentParameterRanges>,
}
Expand description
The endpoint configuration for the load test.
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.instance_type: Option<ProductionVariantInstanceType>
The instance types to use for the load test.
serverless_config: Option<ProductionVariantServerlessConfig>
Specifies the serverless configuration for an endpoint variant.
inference_specification_name: Option<String>
The inference specification name in the model package version.
environment_parameter_ranges: Option<EnvironmentParameterRanges>
The parameter you want to benchmark against.
Implementations§
source§impl EndpointInputConfiguration
impl EndpointInputConfiguration
sourcepub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
pub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
The instance types to use for the load test.
sourcepub fn serverless_config(&self) -> Option<&ProductionVariantServerlessConfig>
pub fn serverless_config(&self) -> Option<&ProductionVariantServerlessConfig>
Specifies the serverless configuration for an endpoint variant.
sourcepub fn inference_specification_name(&self) -> Option<&str>
pub fn inference_specification_name(&self) -> Option<&str>
The inference specification name in the model package version.
sourcepub fn environment_parameter_ranges(
&self,
) -> Option<&EnvironmentParameterRanges>
pub fn environment_parameter_ranges( &self, ) -> Option<&EnvironmentParameterRanges>
The parameter you want to benchmark against.
source§impl EndpointInputConfiguration
impl EndpointInputConfiguration
sourcepub fn builder() -> EndpointInputConfigurationBuilder
pub fn builder() -> EndpointInputConfigurationBuilder
Creates a new builder-style object to manufacture EndpointInputConfiguration
.
Trait Implementations§
source§impl Clone for EndpointInputConfiguration
impl Clone for EndpointInputConfiguration
source§fn clone(&self) -> EndpointInputConfiguration
fn clone(&self) -> EndpointInputConfiguration
Returns a copy 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 EndpointInputConfiguration
impl Debug for EndpointInputConfiguration
impl StructuralPartialEq for EndpointInputConfiguration
Auto Trait Implementations§
impl Freeze for EndpointInputConfiguration
impl RefUnwindSafe for EndpointInputConfiguration
impl Send for EndpointInputConfiguration
impl Sync for EndpointInputConfiguration
impl Unpin for EndpointInputConfiguration
impl UnwindSafe for EndpointInputConfiguration
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
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.