Download tests/integration-tests/client/src/models/http_config_patch.rs from Jadewave/trans2: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/http_config_patch.rs
- Command line
-
hf download hf://spaces/Jadewave/trans2/tests/integration-tests/client/src/models/http_config_patch.rs
-
curl -L -o http_config_patch.rs https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/http_config_patch.rs
1.22 kB
| /* | |
| * | |
| * | |
| * 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 HttpConfigPatch { | |
| pub connect_timeout: Option<Option<u64>>, | |
| pub max_retries: Option<Option<u32>>, | |
| pub read_timeout: Option<Option<u64>>, | |
| } | |
| impl HttpConfigPatch { | |
| pub fn new() -> HttpConfigPatch { | |
| HttpConfigPatch { | |
| connect_timeout: None, | |
| max_retries: None, | |
| read_timeout: None, | |
| } | |
| } | |
| } | |