Struct aws_sdk_bedrockagent::types::RdsFieldMapping
source · #[non_exhaustive]pub struct RdsFieldMapping {
pub primary_key_field: String,
pub vector_field: String,
pub text_field: String,
pub metadata_field: String,
}Expand description
A mapping of Bedrock Knowledge Base fields to RDS column names
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.primary_key_field: StringName of the column
vector_field: StringName of the column
text_field: StringName of the column
metadata_field: StringName of the column
Implementations§
source§impl RdsFieldMapping
impl RdsFieldMapping
sourcepub fn primary_key_field(&self) -> &str
pub fn primary_key_field(&self) -> &str
Name of the column
sourcepub fn vector_field(&self) -> &str
pub fn vector_field(&self) -> &str
Name of the column
sourcepub fn text_field(&self) -> &str
pub fn text_field(&self) -> &str
Name of the column
sourcepub fn metadata_field(&self) -> &str
pub fn metadata_field(&self) -> &str
Name of the column
source§impl RdsFieldMapping
impl RdsFieldMapping
sourcepub fn builder() -> RdsFieldMappingBuilder
pub fn builder() -> RdsFieldMappingBuilder
Creates a new builder-style object to manufacture RdsFieldMapping.
Trait Implementations§
source§impl Clone for RdsFieldMapping
impl Clone for RdsFieldMapping
source§fn clone(&self) -> RdsFieldMapping
fn clone(&self) -> RdsFieldMapping
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 RdsFieldMapping
impl Debug for RdsFieldMapping
source§impl PartialEq for RdsFieldMapping
impl PartialEq for RdsFieldMapping
source§fn eq(&self, other: &RdsFieldMapping) -> bool
fn eq(&self, other: &RdsFieldMapping) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RdsFieldMapping
Auto Trait Implementations§
impl RefUnwindSafe for RdsFieldMapping
impl Send for RdsFieldMapping
impl Sync for RdsFieldMapping
impl Unpin for RdsFieldMapping
impl UnwindSafe for RdsFieldMapping
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> 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>
Creates a shared type from an unshared type.