pub struct BenchImagesInput {
pub width: u32,
pub height: u32,
pub count: u32,
pub source: Option<BenchImageSourceInput>,
}Expand description
The effective per-request image decoration of a random request source ([[RFC-0004:C-BENCH-REQUEST-SOURCES]]): fixed pixel dimensions and the per-request image count. Images attach at measurement-run time on the chat-completions route and never enter the frozen population.
Fields§
§width: u32The fixed image width in pixels.
height: u32The fixed image height in pixels.
count: u32The effective number of images attached to each request.
source: Option<BenchImageSourceInput>The image supply; absent selects the measurement runtime’s synthetic noise image supply.
Trait Implementations§
Source§impl Clone for BenchImagesInput
impl Clone for BenchImagesInput
Source§impl Debug for BenchImagesInput
impl Debug for BenchImagesInput
Source§impl<'de> Deserialize<'de> for BenchImagesInput
impl<'de> Deserialize<'de> for BenchImagesInput
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
impl Eq for BenchImagesInput
Source§impl JsonSchema for BenchImagesInput
impl JsonSchema for BenchImagesInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for BenchImagesInput
impl PartialEq for BenchImagesInput
Source§impl Serialize for BenchImagesInput
impl Serialize for BenchImagesInput
impl StructuralPartialEq for BenchImagesInput
Auto Trait Implementations§
impl Freeze for BenchImagesInput
impl RefUnwindSafe for BenchImagesInput
impl Send for BenchImagesInput
impl Sync for BenchImagesInput
impl Unpin for BenchImagesInput
impl UnsafeUnpin for BenchImagesInput
impl UnwindSafe for BenchImagesInput
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