Struct gpt_rs::prelude::CreateImage
source · pub struct CreateImage { /* private fields */ }Implementations§
source§impl CreateImage
impl CreateImage
pub fn new(request: CreateImageRequest) -> Self
pub fn builder() -> CreateImageBuilder
pub async fn execute(&self, client: &Client) -> Result<CreateImageResponse>
Trait Implementations§
source§impl Clone for CreateImage
impl Clone for CreateImage
source§fn clone(&self) -> CreateImage
fn clone(&self) -> CreateImage
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 moresource§impl Debug for CreateImage
impl Debug for CreateImage
source§impl PartialEq<CreateImage> for CreateImage
impl PartialEq<CreateImage> for CreateImage
source§fn eq(&self, other: &CreateImage) -> bool
fn eq(&self, other: &CreateImage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateImage
Auto Trait Implementations§
impl RefUnwindSafe for CreateImage
impl Send for CreateImage
impl Sync for CreateImage
impl Unpin for CreateImage
impl UnwindSafe for CreateImage
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