Struct aws_sdk_bedrockagent::types::ChunkingConfiguration
source · #[non_exhaustive]pub struct ChunkingConfiguration {
pub chunking_strategy: ChunkingStrategy,
pub fixed_size_chunking_configuration: Option<FixedSizeChunkingConfiguration>,
}Expand description
Configures chunking strategy
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.chunking_strategy: ChunkingStrategyThe type of chunking strategy
fixed_size_chunking_configuration: Option<FixedSizeChunkingConfiguration>Configures fixed size chunking strategy
Implementations§
source§impl ChunkingConfiguration
impl ChunkingConfiguration
sourcepub fn chunking_strategy(&self) -> &ChunkingStrategy
pub fn chunking_strategy(&self) -> &ChunkingStrategy
The type of chunking strategy
sourcepub fn fixed_size_chunking_configuration(
&self
) -> Option<&FixedSizeChunkingConfiguration>
pub fn fixed_size_chunking_configuration( &self ) -> Option<&FixedSizeChunkingConfiguration>
Configures fixed size chunking strategy
source§impl ChunkingConfiguration
impl ChunkingConfiguration
sourcepub fn builder() -> ChunkingConfigurationBuilder
pub fn builder() -> ChunkingConfigurationBuilder
Creates a new builder-style object to manufacture ChunkingConfiguration.
Trait Implementations§
source§impl Clone for ChunkingConfiguration
impl Clone for ChunkingConfiguration
source§fn clone(&self) -> ChunkingConfiguration
fn clone(&self) -> ChunkingConfiguration
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 ChunkingConfiguration
impl Debug for ChunkingConfiguration
source§impl PartialEq for ChunkingConfiguration
impl PartialEq for ChunkingConfiguration
source§fn eq(&self, other: &ChunkingConfiguration) -> bool
fn eq(&self, other: &ChunkingConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChunkingConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for ChunkingConfiguration
impl Send for ChunkingConfiguration
impl Sync for ChunkingConfiguration
impl Unpin for ChunkingConfiguration
impl UnwindSafe for ChunkingConfiguration
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.