pub enum AppliedEdit {
ClearToolUses {
cleared_tool_uses: u32,
cleared_input_tokens: u32,
},
ClearThinking {
cleared_thinking_turns: u32,
cleared_input_tokens: u32,
},
}Available on crate feature
anthropic-client only.Expand description
A single applied edit in the response.
Variants§
Trait Implementations§
Source§impl Clone for AppliedEdit
impl Clone for AppliedEdit
Source§fn clone(&self) -> AppliedEdit
fn clone(&self) -> AppliedEdit
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 AppliedEdit
impl Debug for AppliedEdit
Source§impl<'de> Deserialize<'de> for AppliedEdit
impl<'de> Deserialize<'de> for AppliedEdit
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AppliedEdit, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AppliedEdit, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AppliedEdit
impl PartialEq for AppliedEdit
Source§fn eq(&self, other: &AppliedEdit) -> bool
fn eq(&self, other: &AppliedEdit) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AppliedEdit
impl Serialize for AppliedEdit
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for AppliedEdit
impl StructuralPartialEq for AppliedEdit
Auto Trait Implementations§
impl Freeze for AppliedEdit
impl RefUnwindSafe for AppliedEdit
impl Send for AppliedEdit
impl Sync for AppliedEdit
impl Unpin for AppliedEdit
impl UnsafeUnpin for AppliedEdit
impl UnwindSafe for AppliedEdit
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.