pub enum ChunkingStrategyRequestParam {
Auto(AutoChunkingStrategyRequestParam),
Static(StaticChunkingStrategyRequestParam),
}
Expand description
The chunking strategy used to chunk the file(s). If not set, will use the auto
strategy. Only applicable if file_ids
is non-empty.
Variants§
Trait Implementations§
Source§impl Clone for ChunkingStrategyRequestParam
impl Clone for ChunkingStrategyRequestParam
Source§fn clone(&self) -> ChunkingStrategyRequestParam
fn clone(&self) -> ChunkingStrategyRequestParam
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 Debug for ChunkingStrategyRequestParam
impl Debug for ChunkingStrategyRequestParam
Source§impl<'de> Deserialize<'de> for ChunkingStrategyRequestParam
impl<'de> Deserialize<'de> for ChunkingStrategyRequestParam
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 ChunkingStrategyRequestParam
impl PartialEq for ChunkingStrategyRequestParam
Source§fn eq(&self, other: &ChunkingStrategyRequestParam) -> bool
fn eq(&self, other: &ChunkingStrategyRequestParam) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for ChunkingStrategyRequestParam
impl StructuralPartialEq for ChunkingStrategyRequestParam
Auto Trait Implementations§
impl Freeze for ChunkingStrategyRequestParam
impl RefUnwindSafe for ChunkingStrategyRequestParam
impl Send for ChunkingStrategyRequestParam
impl Sync for ChunkingStrategyRequestParam
impl Unpin for ChunkingStrategyRequestParam
impl UnwindSafe for ChunkingStrategyRequestParam
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