pub struct FragmentBudgetSnapshot {
pub fragment_ids: Vec<String>,
pub fragment_markers: Vec<String>,
pub max_fragment_bytes: usize,
pub max_fragment_tokens: usize,
pub default_fragment_max_bytes: usize,
pub max_fragments_per_context: usize,
pub instructions_file_max_bytes: usize,
pub max_instruction_files: usize,
pub project_instruction_candidates: Vec<String>,
}Fields§
§fragment_ids: Vec<String>§fragment_markers: Vec<String>§max_fragment_bytes: usize§max_fragment_tokens: usize§default_fragment_max_bytes: usize§max_fragments_per_context: usize§instructions_file_max_bytes: usize§max_instruction_files: usize§project_instruction_candidates: Vec<String>Trait Implementations§
Source§impl Clone for FragmentBudgetSnapshot
impl Clone for FragmentBudgetSnapshot
Source§fn clone(&self) -> FragmentBudgetSnapshot
fn clone(&self) -> FragmentBudgetSnapshot
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 FragmentBudgetSnapshot
impl Debug for FragmentBudgetSnapshot
Source§impl<'de> Deserialize<'de> for FragmentBudgetSnapshot
impl<'de> Deserialize<'de> for FragmentBudgetSnapshot
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 FragmentBudgetSnapshot
Source§impl PartialEq for FragmentBudgetSnapshot
impl PartialEq for FragmentBudgetSnapshot
Source§impl Serialize for FragmentBudgetSnapshot
impl Serialize for FragmentBudgetSnapshot
impl StructuralPartialEq for FragmentBudgetSnapshot
Auto Trait Implementations§
impl Freeze for FragmentBudgetSnapshot
impl RefUnwindSafe for FragmentBudgetSnapshot
impl Send for FragmentBudgetSnapshot
impl Sync for FragmentBudgetSnapshot
impl Unpin for FragmentBudgetSnapshot
impl UnsafeUnpin for FragmentBudgetSnapshot
impl UnwindSafe for FragmentBudgetSnapshot
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.