pub enum ChunkingStrategyRequestParam {
Auto(AutoChunkingStrategyRequestParam),
Static(StaticChunkingStrategyRequestParam),
}
Expand description
§on openapi.yaml
ChunkingStrategyRequestParam:
type: object
description:
The chunking strategy used to chunk the file(s). If not set, will
use the `auto` strategy.
oneOf:
- $ref: "#/components/schemas/AutoChunkingStrategyRequestParam"
- $ref: "#/components/schemas/StaticChunkingStrategyRequestParam"
Variants§
Trait Implementations§
Source§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
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