Download tests/integration-tests/client/src/models/export_project_request.rs from Jadewave/trans2: direct link, hf CLI and curl.
- Browser
- Download file 912 Bytes
-
https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/export_project_request.rs
- Command line
-
hf download hf://spaces/Jadewave/trans2/tests/integration-tests/client/src/models/export_project_request.rs
-
curl -L -o export_project_request.rs https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/export_project_request.rs
912 Bytes
| /* | |
| * | |
| * | |
| * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | |
| * | |
| * The version of the OpenAPI document: | |
| * | |
| * Generated by: https://openapi-generator.tech | |
| */ | |
| use crate::models; | |
| use serde::{Deserialize, Serialize}; | |
| pub struct ExportProjectRequest { | |
| pub format: models::ExportFormat, | |
| /// Optional subset of pages; defaults to every page. | |
| pub pages: Option<Option<Vec<uuid::Uuid>>>, | |
| } | |
| impl ExportProjectRequest { | |
| pub fn new(format: models::ExportFormat) -> ExportProjectRequest { | |
| ExportProjectRequest { | |
| format, | |
| pages: None, | |
| } | |
| } | |
| } | |