#[non_exhaustive]pub struct ConverseRequest {Show 13 fields
pub additional_model_request_fields: Option<Value>,
pub additional_model_response_field_paths: Option<Vec<String>>,
pub guardrail_config: Option<GuardrailConfiguration>,
pub inference_config: Option<InferenceConfiguration>,
pub messages: Option<Vec<Message>>,
pub output_config: Option<OutputConfig>,
pub performance_config: Option<PerformanceConfiguration>,
pub prompt_variables: Option<PromptVariables>,
pub request_metadata: Option<RequestMetadata>,
pub service_tier: Option<ServiceTier>,
pub system: Option<Vec<SystemContentBlock>>,
pub tool_config: Option<ToolConfiguration>,
pub rest: Rest,
}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.additional_model_request_fields: Option<Value>upstream_docs/aws/docs/Converse.md, additionalModelRequestFields:
model-specific parameters documented as a JSON value.
additional_model_response_field_paths: Option<Vec<String>>§guardrail_config: Option<GuardrailConfiguration>§inference_config: Option<InferenceConfiguration>§messages: Option<Vec<Message>>§output_config: Option<OutputConfig>§performance_config: Option<PerformanceConfiguration>§prompt_variables: Option<PromptVariables>§request_metadata: Option<RequestMetadata>§service_tier: Option<ServiceTier>§system: Option<Vec<SystemContentBlock>>§tool_config: Option<ToolConfiguration>§rest: RestImplementations§
Trait Implementations§
Source§impl Clone for ConverseRequest
impl Clone for ConverseRequest
Source§fn clone(&self) -> ConverseRequest
fn clone(&self) -> ConverseRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConverseRequest
impl Debug for ConverseRequest
Source§impl<'de> Deserialize<'de> for ConverseRequest
impl<'de> Deserialize<'de> for ConverseRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConverseRequest
impl PartialEq for ConverseRequest
Source§impl Serialize for ConverseRequest
impl Serialize for ConverseRequest
impl StructuralPartialEq for ConverseRequest
Auto Trait Implementations§
impl Freeze for ConverseRequest
impl RefUnwindSafe for ConverseRequest
impl Send for ConverseRequest
impl Sync for ConverseRequest
impl Unpin for ConverseRequest
impl UnsafeUnpin for ConverseRequest
impl UnwindSafe for ConverseRequest
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