pub enum AuxiliaryOperation {
AnthropicCountTokens,
ResponsesInputTokens,
ResponsesCompact,
}Expand description
A model-bearing provider operation outside the normal completion endpoint.
Variants§
AnthropicCountTokens
Anthropic Messages input-token counting.
ResponsesInputTokens
OpenAI Responses input-token counting.
ResponsesCompact
OpenAI Responses compaction.
Trait Implementations§
Source§impl Clone for AuxiliaryOperation
impl Clone for AuxiliaryOperation
Source§fn clone(&self) -> AuxiliaryOperation
fn clone(&self) -> AuxiliaryOperation
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 AuxiliaryOperation
Source§impl Debug for AuxiliaryOperation
impl Debug for AuxiliaryOperation
impl Eq for AuxiliaryOperation
Source§impl PartialEq for AuxiliaryOperation
impl PartialEq for AuxiliaryOperation
impl StructuralPartialEq for AuxiliaryOperation
Auto Trait Implementations§
impl Freeze for AuxiliaryOperation
impl RefUnwindSafe for AuxiliaryOperation
impl Send for AuxiliaryOperation
impl Sync for AuxiliaryOperation
impl Unpin for AuxiliaryOperation
impl UnsafeUnpin for AuxiliaryOperation
impl UnwindSafe for AuxiliaryOperation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.