pub struct SegmentationConfigSnapshot {
pub max_segment_tokens: usize,
pub context_tokens: usize,
}Fields§
§max_segment_tokens: usize§context_tokens: usizeTrait Implementations§
Source§impl Clone for SegmentationConfigSnapshot
impl Clone for SegmentationConfigSnapshot
Source§fn clone(&self) -> SegmentationConfigSnapshot
fn clone(&self) -> SegmentationConfigSnapshot
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 SegmentationConfigSnapshot
impl Debug for SegmentationConfigSnapshot
Source§impl<'de> Deserialize<'de> for SegmentationConfigSnapshot
impl<'de> Deserialize<'de> for SegmentationConfigSnapshot
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 SegmentationConfigSnapshot
impl PartialEq for SegmentationConfigSnapshot
Source§fn eq(&self, other: &SegmentationConfigSnapshot) -> bool
fn eq(&self, other: &SegmentationConfigSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SegmentationConfigSnapshot
impl Eq for SegmentationConfigSnapshot
impl StructuralPartialEq for SegmentationConfigSnapshot
Auto Trait Implementations§
impl Freeze for SegmentationConfigSnapshot
impl RefUnwindSafe for SegmentationConfigSnapshot
impl Send for SegmentationConfigSnapshot
impl Sync for SegmentationConfigSnapshot
impl Unpin for SegmentationConfigSnapshot
impl UnsafeUnpin for SegmentationConfigSnapshot
impl UnwindSafe for SegmentationConfigSnapshot
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,
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.