tripo-api 0.1.4

Unofficial async Rust client for the Tripo 3D Generation API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! `mesh_segmentation` task variant.

use serde::{Deserialize, Serialize};

/// Request body for `mesh_segmentation`. Wire `type`: `mesh_segmentation`.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
#[serde(deny_unknown_fields)]
pub struct MeshSegmentationRequest {
    /// Source task id.
    pub original_model_task_id: String,
    /// Model version.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub model_version: Option<String>,
}