pub struct ImageUsage {
pub images: i32,
}Expand description
Usage statistics for image generation.
JSON schema
{
"description": "Usage statistics for image generation.",
"type": "object",
"required": [
"images"
],
"properties": {
"images": {
"description": "Number of images generated",
"type": "integer",
"format": "int32"
}
}
}Fields§
§images: i32Number of images generated
Trait Implementations§
Source§impl Clone for ImageUsage
impl Clone for ImageUsage
Source§fn clone(&self) -> ImageUsage
fn clone(&self) -> ImageUsage
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 ImageUsage
impl Debug for ImageUsage
Source§impl<'de> Deserialize<'de> for ImageUsage
impl<'de> Deserialize<'de> for ImageUsage
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
Source§impl From<&ImageUsage> for ImageUsage
impl From<&ImageUsage> for ImageUsage
Source§fn from(value: &ImageUsage) -> Self
fn from(value: &ImageUsage) -> Self
Converts to this type from the input type.
Source§impl From<ImageUsage> for ModelRelayApi
impl From<ImageUsage> for ModelRelayApi
Source§fn from(value: ImageUsage) -> Self
fn from(value: ImageUsage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ImageUsage
impl PartialEq for ImageUsage
Source§impl Serialize for ImageUsage
impl Serialize for ImageUsage
impl StructuralPartialEq for ImageUsage
Auto Trait Implementations§
impl Freeze for ImageUsage
impl RefUnwindSafe for ImageUsage
impl Send for ImageUsage
impl Sync for ImageUsage
impl Unpin for ImageUsage
impl UnwindSafe for ImageUsage
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