#[non_exhaustive]pub struct ClearedTools {
pub type_: ClearedToolsType,
pub cleared_input_tokens: i64,
pub cleared_tool_uses: i64,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type_: ClearedToolsType§cleared_input_tokens: i64§cleared_tool_uses: i64§rest: RestImplementations§
Source§impl ClearedTools
impl ClearedTools
Sourcepub fn builder(
type_: ClearedToolsType,
cleared_input_tokens: i64,
cleared_tool_uses: i64,
) -> ClearedToolsBuilder
pub fn builder( type_: ClearedToolsType, cleared_input_tokens: i64, cleared_tool_uses: i64, ) -> ClearedToolsBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ClearedTools
impl Clone for ClearedTools
Source§impl Debug for ClearedTools
impl Debug for ClearedTools
Source§impl DeclaredFields for ClearedTools
impl DeclaredFields for ClearedTools
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ClearedTools
impl<'de> Deserialize<'de> for ClearedTools
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 ClearedTools
Source§impl PartialEq for ClearedTools
impl PartialEq for ClearedTools
Source§impl Serialize for ClearedTools
impl Serialize for ClearedTools
impl StructuralPartialEq for ClearedTools
Auto Trait Implementations§
impl Freeze for ClearedTools
impl RefUnwindSafe for ClearedTools
impl Send for ClearedTools
impl Sync for ClearedTools
impl Unpin for ClearedTools
impl UnsafeUnpin for ClearedTools
impl UnwindSafe for ClearedTools
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