Struct aws_sdk_bedrock::types::FoundationModelDetails
source · #[non_exhaustive]pub struct FoundationModelDetails {
pub model_arn: Option<String>,
pub model_id: Option<String>,
pub model_name: Option<String>,
pub provider_name: Option<String>,
pub input_modalities: Option<Vec<ModelModality>>,
pub output_modalities: Option<Vec<ModelModality>>,
pub response_streaming_supported: Option<bool>,
pub customizations_supported: Option<Vec<ModelCustomization>>,
pub inference_types_supported: Option<Vec<InferenceType>>,
}Expand description
Information about a foundation model.
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.model_arn: Option<String>The model ARN.
model_id: Option<String>The model identifier.
model_name: Option<String>The model name.
provider_name: Option<String>he model's provider name.
input_modalities: Option<Vec<ModelModality>>The input modalities that the model supports.
output_modalities: Option<Vec<ModelModality>>The output modalities that the model supports.
response_streaming_supported: Option<bool>Indicates whether the model supports streaming.
customizations_supported: Option<Vec<ModelCustomization>>The customization that the model supports.
inference_types_supported: Option<Vec<InferenceType>>The inference types that the model supports.
Implementations§
source§impl FoundationModelDetails
impl FoundationModelDetails
sourcepub fn model_name(&self) -> Option<&str>
pub fn model_name(&self) -> Option<&str>
The model name.
sourcepub fn provider_name(&self) -> Option<&str>
pub fn provider_name(&self) -> Option<&str>
he model's provider name.
sourcepub fn input_modalities(&self) -> Option<&[ModelModality]>
pub fn input_modalities(&self) -> Option<&[ModelModality]>
The input modalities that the model supports.
sourcepub fn output_modalities(&self) -> Option<&[ModelModality]>
pub fn output_modalities(&self) -> Option<&[ModelModality]>
The output modalities that the model supports.
sourcepub fn response_streaming_supported(&self) -> Option<bool>
pub fn response_streaming_supported(&self) -> Option<bool>
Indicates whether the model supports streaming.
sourcepub fn customizations_supported(&self) -> Option<&[ModelCustomization]>
pub fn customizations_supported(&self) -> Option<&[ModelCustomization]>
The customization that the model supports.
sourcepub fn inference_types_supported(&self) -> Option<&[InferenceType]>
pub fn inference_types_supported(&self) -> Option<&[InferenceType]>
The inference types that the model supports.
source§impl FoundationModelDetails
impl FoundationModelDetails
sourcepub fn builder() -> FoundationModelDetailsBuilder
pub fn builder() -> FoundationModelDetailsBuilder
Creates a new builder-style object to manufacture FoundationModelDetails.
Trait Implementations§
source§impl Clone for FoundationModelDetails
impl Clone for FoundationModelDetails
source§fn clone(&self) -> FoundationModelDetails
fn clone(&self) -> FoundationModelDetails
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 FoundationModelDetails
impl Debug for FoundationModelDetails
source§impl PartialEq for FoundationModelDetails
impl PartialEq for FoundationModelDetails
source§fn eq(&self, other: &FoundationModelDetails) -> bool
fn eq(&self, other: &FoundationModelDetails) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FoundationModelDetails
Auto Trait Implementations§
impl RefUnwindSafe for FoundationModelDetails
impl Send for FoundationModelDetails
impl Sync for FoundationModelDetails
impl Unpin for FoundationModelDetails
impl UnwindSafe for FoundationModelDetails
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