pub struct UsageOutputTokensDetails {
pub image_tokens: i64,
pub text_tokens: i64,
}Expand description
The output token details for the image generation.
Fields§
§image_tokens: i64The number of image output tokens generated by the model.
text_tokens: i64The number of text output tokens generated by the model.
Trait Implementations§
Source§impl Clone for UsageOutputTokensDetails
impl Clone for UsageOutputTokensDetails
Source§fn clone(&self) -> UsageOutputTokensDetails
fn clone(&self) -> UsageOutputTokensDetails
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 UsageOutputTokensDetails
impl Debug for UsageOutputTokensDetails
Source§impl<'de> Deserialize<'de> for UsageOutputTokensDetails
impl<'de> Deserialize<'de> for UsageOutputTokensDetails
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 UsageOutputTokensDetails
impl RefUnwindSafe for UsageOutputTokensDetails
impl Send for UsageOutputTokensDetails
impl Sync for UsageOutputTokensDetails
impl Unpin for UsageOutputTokensDetails
impl UnsafeUnpin for UsageOutputTokensDetails
impl UnwindSafe for UsageOutputTokensDetails
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