pub struct ResponseOutputTokensDetails {
pub reasoning_tokens: Option<u64>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 responses 输出 token 明细。
Fields§
§reasoning_tokens: Option<u64>reasoning token 数。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl Clone for ResponseOutputTokensDetails
impl Clone for ResponseOutputTokensDetails
Source§fn clone(&self) -> ResponseOutputTokensDetails
fn clone(&self) -> ResponseOutputTokensDetails
Returns a duplicate of the value. Read more
1.0.0 · 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 ResponseOutputTokensDetails
impl Debug for ResponseOutputTokensDetails
Source§impl Default for ResponseOutputTokensDetails
impl Default for ResponseOutputTokensDetails
Source§fn default() -> ResponseOutputTokensDetails
fn default() -> ResponseOutputTokensDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseOutputTokensDetails
impl<'de> Deserialize<'de> for ResponseOutputTokensDetails
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
Auto Trait Implementations§
impl Freeze for ResponseOutputTokensDetails
impl RefUnwindSafe for ResponseOutputTokensDetails
impl Send for ResponseOutputTokensDetails
impl Sync for ResponseOutputTokensDetails
impl Unpin for ResponseOutputTokensDetails
impl UnsafeUnpin for ResponseOutputTokensDetails
impl UnwindSafe for ResponseOutputTokensDetails
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