Download tests/integration-tests/client/src/models/create_project_request.rs from Jadewave/trans2: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/create_project_request.rs
- Command line
-
hf download hf://spaces/Jadewave/trans2/tests/integration-tests/client/src/models/create_project_request.rs
-
curl -L -o create_project_request.rs https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/create_project_request.rs
561 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 CreateProjectRequest { | |
| pub name: String, | |
| } | |
| impl CreateProjectRequest { | |
| pub fn new(name: String) -> CreateProjectRequest { | |
| CreateProjectRequest { name } | |
| } | |
| } | |