Enum gpt_rs::prelude::CreateImageResponse
source · pub enum CreateImageResponse {
Url {
created: u64,
data: Vec<Url>,
},
B64_Json {
created: u64,
data: Vec<B64>,
},
}Variants§
Trait Implementations§
source§impl Clone for CreateImageResponse
impl Clone for CreateImageResponse
source§fn clone(&self) -> CreateImageResponse
fn clone(&self) -> CreateImageResponse
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 CreateImageResponse
impl Debug for CreateImageResponse
source§impl From<CreateImageResponseDto<B64>> for CreateImageResponse
impl From<CreateImageResponseDto<B64>> for CreateImageResponse
source§fn from(value: CreateImageResponseDto<B64>) -> Self
fn from(value: CreateImageResponseDto<B64>) -> Self
Converts to this type from the input type.
source§impl From<CreateImageResponseDto<Url>> for CreateImageResponse
impl From<CreateImageResponseDto<Url>> for CreateImageResponse
source§fn from(value: CreateImageResponseDto<Url>) -> Self
fn from(value: CreateImageResponseDto<Url>) -> Self
Converts to this type from the input type.
source§impl PartialEq<CreateImageResponse> for CreateImageResponse
impl PartialEq<CreateImageResponse> for CreateImageResponse
source§fn eq(&self, other: &CreateImageResponse) -> bool
fn eq(&self, other: &CreateImageResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateImageResponse
Auto Trait Implementations§
impl RefUnwindSafe for CreateImageResponse
impl Send for CreateImageResponse
impl Sync for CreateImageResponse
impl Unpin for CreateImageResponse
impl UnwindSafe for CreateImageResponse
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