pub struct StaticChunkingStrategyRequestParam {
pub static: StaticChunkingStrategy,
}
Expand description
Customize your own chunking strategy by setting chunk size and chunk overlap.
Fields§
§static: StaticChunkingStrategy
Implementations§
Trait Implementations§
Source§impl Clone for StaticChunkingStrategyRequestParam
impl Clone for StaticChunkingStrategyRequestParam
Source§fn clone(&self) -> StaticChunkingStrategyRequestParam
fn clone(&self) -> StaticChunkingStrategyRequestParam
Returns a duplicate 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<'de> Deserialize<'de> for StaticChunkingStrategyRequestParam
impl<'de> Deserialize<'de> for StaticChunkingStrategyRequestParam
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 StaticChunkingStrategyRequestParam
impl PartialEq for StaticChunkingStrategyRequestParam
Source§fn eq(&self, other: &StaticChunkingStrategyRequestParam) -> bool
fn eq(&self, other: &StaticChunkingStrategyRequestParam) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for StaticChunkingStrategyRequestParam
impl StructuralPartialEq for StaticChunkingStrategyRequestParam
Auto Trait Implementations§
impl Freeze for StaticChunkingStrategyRequestParam
impl RefUnwindSafe for StaticChunkingStrategyRequestParam
impl Send for StaticChunkingStrategyRequestParam
impl Sync for StaticChunkingStrategyRequestParam
impl Unpin for StaticChunkingStrategyRequestParam
impl UnwindSafe for StaticChunkingStrategyRequestParam
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