pub struct EmbeddingsStrategy {
pub id: Option<String>,
pub num_tokens_per_chunk: Option<i64>,
}Fields§
§id: Option<String>§num_tokens_per_chunk: Option<i64>Trait Implementations§
Source§impl Clone for EmbeddingsStrategy
impl Clone for EmbeddingsStrategy
Source§fn clone(&self) -> EmbeddingsStrategy
fn clone(&self) -> EmbeddingsStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmbeddingsStrategy
impl Debug for EmbeddingsStrategy
Source§impl Default for EmbeddingsStrategy
impl Default for EmbeddingsStrategy
Source§fn default() -> EmbeddingsStrategy
fn default() -> EmbeddingsStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmbeddingsStrategy
impl<'de> Deserialize<'de> for EmbeddingsStrategy
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 EmbeddingsStrategy
impl PartialEq for EmbeddingsStrategy
Source§impl Serialize for EmbeddingsStrategy
impl Serialize for EmbeddingsStrategy
impl StructuralPartialEq for EmbeddingsStrategy
Auto Trait Implementations§
impl Freeze for EmbeddingsStrategy
impl RefUnwindSafe for EmbeddingsStrategy
impl Send for EmbeddingsStrategy
impl Sync for EmbeddingsStrategy
impl Unpin for EmbeddingsStrategy
impl UnsafeUnpin for EmbeddingsStrategy
impl UnwindSafe for EmbeddingsStrategy
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