pub struct UpscaleImageResponse {
pub sdk_http_response: Option<HttpResponse>,
pub generated_images: Vec<GeneratedImage>,
}Expand description
Upscale 图像响应。
Fields§
§sdk_http_response: Option<HttpResponse>Optional. Used to retain the full HTTP response.
generated_images: Vec<GeneratedImage>Trait Implementations§
Source§impl Clone for UpscaleImageResponse
impl Clone for UpscaleImageResponse
Source§fn clone(&self) -> UpscaleImageResponse
fn clone(&self) -> UpscaleImageResponse
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 UpscaleImageResponse
impl Debug for UpscaleImageResponse
Source§impl Default for UpscaleImageResponse
impl Default for UpscaleImageResponse
Source§fn default() -> UpscaleImageResponse
fn default() -> UpscaleImageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpscaleImageResponse
impl<'de> Deserialize<'de> for UpscaleImageResponse
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
Auto Trait Implementations§
impl Freeze for UpscaleImageResponse
impl RefUnwindSafe for UpscaleImageResponse
impl Send for UpscaleImageResponse
impl Sync for UpscaleImageResponse
impl Unpin for UpscaleImageResponse
impl UnsafeUnpin for UpscaleImageResponse
impl UnwindSafe for UpscaleImageResponse
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