pub struct CreateImageVariationRequest {
pub image: String,
pub model: Option<CreateImageVariationRequest_Model>,
pub n: Option<i64>,
pub response_format: Option<String>,
pub size: Option<String>,
pub user: String,
}Fields§
§image: StringThe image to use as the basis for the variation(s).
model: Option<CreateImageVariationRequest_Model>§n: Option<i64>The number of images to generate.
response_format: Option<String>The format in which the generated images are returned.
size: Option<String>The size of the generated images.
user: StringA unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse.
Trait Implementations§
Source§impl Clone for CreateImageVariationRequest
impl Clone for CreateImageVariationRequest
Source§fn clone(&self) -> CreateImageVariationRequest
fn clone(&self) -> CreateImageVariationRequest
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for CreateImageVariationRequest
impl RefUnwindSafe for CreateImageVariationRequest
impl Send for CreateImageVariationRequest
impl Sync for CreateImageVariationRequest
impl Unpin for CreateImageVariationRequest
impl UnwindSafe for CreateImageVariationRequest
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