pub struct BedrockAiBinding {
pub region: String,
}Expand description
AWS Bedrock AI binding configuration
JSON schema
{
"description": "AWS Bedrock AI binding configuration",
"type": "object",
"required": [
"region"
],
"properties": {
"region": {
"description": "The AWS region where Bedrock is accessed (for example `us-east-1`). The gateway builds\n`https://bedrock-runtime.<region>.amazonaws.com` from it, so parsing refuses anything\nthat is not a plain AWS region name.",
"type": "string"
}
}
}Fields§
§region: StringThe AWS region where Bedrock is accessed (for example us-east-1). The gateway builds
https://bedrock-runtime.<region>.amazonaws.com from it, so parsing refuses anything
that is not a plain AWS region name.
Implementations§
Source§impl BedrockAiBinding
impl BedrockAiBinding
pub fn builder() -> BedrockAiBinding
Trait Implementations§
Source§impl Clone for BedrockAiBinding
impl Clone for BedrockAiBinding
Source§impl Debug for BedrockAiBinding
impl Debug for BedrockAiBinding
Source§impl<'de> Deserialize<'de> for BedrockAiBinding
impl<'de> Deserialize<'de> for BedrockAiBinding
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 From<&BedrockAiBinding> for BedrockAiBinding
impl From<&BedrockAiBinding> for BedrockAiBinding
Source§fn from(value: &BedrockAiBinding) -> Self
fn from(value: &BedrockAiBinding) -> Self
Converts to this type from the input type.
Source§impl From<BedrockAiBinding> for BedrockAiBinding
impl From<BedrockAiBinding> for BedrockAiBinding
Source§fn from(value: BedrockAiBinding) -> Self
fn from(value: BedrockAiBinding) -> Self
Converts to this type from the input type.
Source§impl Serialize for BedrockAiBinding
impl Serialize for BedrockAiBinding
Source§impl TryFrom<BedrockAiBinding> for BedrockAiBinding
impl TryFrom<BedrockAiBinding> for BedrockAiBinding
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: BedrockAiBinding) -> Result<Self, ConversionError>
fn try_from(value: BedrockAiBinding) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for BedrockAiBinding
impl Freeze for BedrockAiBinding
impl Move for BedrockAiBinding
impl RefUnwindSafe for BedrockAiBinding
impl Send for BedrockAiBinding
impl Sync for BedrockAiBinding
impl Unpin for BedrockAiBinding
impl UnsafeUnpin for BedrockAiBinding
impl UnwindSafe for BedrockAiBinding
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