pub struct AnthropicCountTokensResponse {
pub input_tokens: u32,
}Expand description
Response body for POST /v1/messages/count_tokens.
Fields§
§input_tokens: u32Trait Implementations§
Source§impl Clone for AnthropicCountTokensResponse
impl Clone for AnthropicCountTokensResponse
Source§fn clone(&self) -> AnthropicCountTokensResponse
fn clone(&self) -> AnthropicCountTokensResponse
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 AnthropicCountTokensResponse
impl Debug for AnthropicCountTokensResponse
Auto Trait Implementations§
impl Freeze for AnthropicCountTokensResponse
impl RefUnwindSafe for AnthropicCountTokensResponse
impl Send for AnthropicCountTokensResponse
impl Sync for AnthropicCountTokensResponse
impl Unpin for AnthropicCountTokensResponse
impl UnsafeUnpin for AnthropicCountTokensResponse
impl UnwindSafe for AnthropicCountTokensResponse
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