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 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 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 for CreateImageResponse
impl PartialEq for CreateImageResponse
impl StructuralPartialEq for CreateImageResponse
Auto Trait Implementations§
impl Freeze for CreateImageResponse
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