pub struct BatchConfigSnapshot {
pub enabled: bool,
pub target_tokens: usize,
pub max_items: usize,
pub adaptive_sizing: bool,
pub split_on_json_failure: bool,
pub repair_invalid_items: bool,
}Fields§
§enabled: bool§target_tokens: usize§max_items: usize§adaptive_sizing: bool§split_on_json_failure: bool§repair_invalid_items: boolTrait Implementations§
Source§impl Clone for BatchConfigSnapshot
impl Clone for BatchConfigSnapshot
Source§fn clone(&self) -> BatchConfigSnapshot
fn clone(&self) -> BatchConfigSnapshot
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 moreimpl Copy for BatchConfigSnapshot
Source§impl Debug for BatchConfigSnapshot
impl Debug for BatchConfigSnapshot
Source§impl<'de> Deserialize<'de> for BatchConfigSnapshot
impl<'de> Deserialize<'de> for BatchConfigSnapshot
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
impl Eq for BatchConfigSnapshot
Source§impl PartialEq for BatchConfigSnapshot
impl PartialEq for BatchConfigSnapshot
Source§fn eq(&self, other: &BatchConfigSnapshot) -> bool
fn eq(&self, other: &BatchConfigSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BatchConfigSnapshot
impl Serialize for BatchConfigSnapshot
impl StructuralPartialEq for BatchConfigSnapshot
Auto Trait Implementations§
impl Freeze for BatchConfigSnapshot
impl RefUnwindSafe for BatchConfigSnapshot
impl Send for BatchConfigSnapshot
impl Sync for BatchConfigSnapshot
impl Unpin for BatchConfigSnapshot
impl UnsafeUnpin for BatchConfigSnapshot
impl UnwindSafe for BatchConfigSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.