#[non_exhaustive]pub struct ChunkingSample {
pub cap: Integer,
pub population: Option<Integer>,
pub documents: Integer,
pub unread: Integer,
pub load_cap: Integer,
pub embedder_model: String,
pub input_token_limit: Option<Integer>,
pub current: ChunkStats,
}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.cap: Integer§population: Option<Integer>§documents: Integer§unread: Integer§load_cap: Integer§embedder_model: String§input_token_limit: Option<Integer>§current: ChunkStatsTrait Implementations§
Source§impl Clone for ChunkingSample
impl Clone for ChunkingSample
Source§impl Debug for ChunkingSample
impl Debug for ChunkingSample
Source§impl<'de> Deserialize<'de> for ChunkingSample
impl<'de> Deserialize<'de> for ChunkingSample
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 ChunkingSample
impl PartialEq for ChunkingSample
Source§impl Serialize for ChunkingSample
impl Serialize for ChunkingSample
impl StructuralPartialEq for ChunkingSample
Auto Trait Implementations§
impl Forget for ChunkingSample
impl Freeze for ChunkingSample
impl Move for ChunkingSample
impl RefUnwindSafe for ChunkingSample
impl Send for ChunkingSample
impl Sync for ChunkingSample
impl Unpin for ChunkingSample
impl UnsafeUnpin for ChunkingSample
impl UnwindSafe for ChunkingSample
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