Download codex-rs/codex-backend-openapi-models/src/models/config_file_response.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/codex-backend-openapi-models/src/models/config_file_response.rs
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/codex-backend-openapi-models/src/models/config_file_response.rs
-
curl -L -o config_file_response.rs https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/codex-backend-openapi-models/src/models/config_file_response.rs
1.11 kB
| /* | |
| * codex-backend | |
| * | |
| * codex-backend | |
| * | |
| * The version of the OpenAPI document: 0.0.1 | |
| * | |
| * Generated by: https://openapi-generator.tech | |
| */ | |
| use serde::Deserialize; | |
| use serde::Serialize; | |
| pub struct ConfigFileResponse { | |
| pub contents: Option<String>, | |
| pub sha256: Option<String>, | |
| pub updated_at: Option<String>, | |
| pub updated_by_user_id: Option<String>, | |
| } | |
| impl ConfigFileResponse { | |
| pub fn new( | |
| contents: Option<String>, | |
| sha256: Option<String>, | |
| updated_at: Option<String>, | |
| updated_by_user_id: Option<String>, | |
| ) -> ConfigFileResponse { | |
| ConfigFileResponse { | |
| contents, | |
| sha256, | |
| updated_at, | |
| updated_by_user_id, | |
| } | |
| } | |
| } | |