pub struct ImageGetResponse {
pub logs: String,
pub code: Option<String>,
pub image_at: Option<String>,
pub image_bytes: Option<Vec<u8>>,
pub complete: bool,
pub predict_time: Option<f64>,
}
Expand description
if complete
is true, image_at
must be Some
Fields§
§logs: String
§code: Option<String>
§image_at: Option<String>
§image_bytes: Option<Vec<u8>>
§complete: bool
§predict_time: Option<f64>
Implementations§
source§impl GetResponse
impl GetResponse
Auto Trait Implementations§
impl Freeze for GetResponse
impl RefUnwindSafe for GetResponse
impl Send for GetResponse
impl Sync for GetResponse
impl Unpin for GetResponse
impl UnwindSafe for GetResponse
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