async-dashscope 0.12.0

A Rust client for DashScope API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

use crate::operation::common::TaskStatus;

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Image2ImageOutput {
    pub request_id: String,
    pub output: ImageTaskSubmitOutput,
}

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct ImageTaskSubmitOutput {
    pub task_status: TaskStatus,
    pub task_id: String,
}