pub struct UsageAudioSpeechesResult {
pub api_key_id: Option<String>,
pub characters: i32,
pub model: Option<String>,
pub num_model_requests: i32,
pub object: String,
pub project_id: Option<String>,
pub user_id: Option<String>,
}
Fields§
§api_key_id: Option<String>
When group_by=api_key_id
, this field provides the API key ID of the grouped usage result.
characters: i32
The number of characters processed.
model: Option<String>
When group_by=model
, this field provides the model name of the grouped usage result.
num_model_requests: i32
The count of requests made to the model.
object: String
§project_id: Option<String>
When group_by=project_id
, this field provides the project ID of the grouped usage result.
user_id: Option<String>
When group_by=user_id
, this field provides the user ID of the grouped usage result.
Trait Implementations§
Source§impl Debug for UsageAudioSpeechesResult
impl Debug for UsageAudioSpeechesResult
Source§impl<'de> Deserialize<'de> for UsageAudioSpeechesResult
impl<'de> Deserialize<'de> for UsageAudioSpeechesResult
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 UsageAudioSpeechesResult
impl RefUnwindSafe for UsageAudioSpeechesResult
impl Send for UsageAudioSpeechesResult
impl Sync for UsageAudioSpeechesResult
impl Unpin for UsageAudioSpeechesResult
impl UnwindSafe for UsageAudioSpeechesResult
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