pub struct UsageImagesResult {
pub object: String,
pub images: u64,
pub num_model_requests: u64,
pub source: Option<String>,
pub size: Option<String>,
pub project_id: Option<String>,
pub user_id: Option<String>,
pub api_key_id: Option<String>,
pub model: Option<String>,
}administration-types only.Expand description
The aggregated images usage details of the specific time bucket.
Fields§
§object: StringThe object type, which is always organization.usage.images.result.
images: u64The number of images processed.
num_model_requests: u64The count of requests made to the model.
source: Option<String>When group_by=source, this field provides the source of the grouped usage result, possible values are image.generation, image.edit, image.variation.
size: Option<String>When group_by=size, this field provides the image size of the grouped usage result.
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.
api_key_id: Option<String>When group_by=api_key_id, this field provides the API key ID of the grouped usage result.
model: Option<String>When group_by=model, this field provides the model name of the grouped usage result.
Trait Implementations§
Source§impl Clone for UsageImagesResult
impl Clone for UsageImagesResult
Source§fn clone(&self) -> UsageImagesResult
fn clone(&self) -> UsageImagesResult
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UsageImagesResult
impl Debug for UsageImagesResult
Source§impl<'de> Deserialize<'de> for UsageImagesResult
impl<'de> Deserialize<'de> for UsageImagesResult
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>,
Auto Trait Implementations§
impl Freeze for UsageImagesResult
impl RefUnwindSafe for UsageImagesResult
impl Send for UsageImagesResult
impl Sync for UsageImagesResult
impl Unpin for UsageImagesResult
impl UnwindSafe for UsageImagesResult
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)