Download tests/integration-tests/client/src/models/image_data_patch.rs from Jadewave/trans2: direct link, hf CLI and curl.
- Browser
- Download file 1.71 kB
-
https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/image_data_patch.rs
- Command line
-
hf download hf://spaces/Jadewave/trans2/tests/integration-tests/client/src/models/image_data_patch.rs
-
curl -L -o image_data_patch.rs https://huggingface.co/spaces/Jadewave/trans2/resolve/main/tests/integration-tests/client/src/models/image_data_patch.rs
1.71 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 ImageDataPatch { | |
| /// Hex-encoded blake3 hash of an immutable blob. | |
| pub blob: Option<Option<String>>, | |
| pub name: Option<Option<String>>, | |
| pub natural_height: Option<Option<u32>>, | |
| pub natural_width: Option<Option<u32>>, | |
| pub opacity: Option<Option<f32>>, | |
| } | |
| impl ImageDataPatch { | |
| pub fn new() -> ImageDataPatch { | |
| ImageDataPatch { | |
| blob: None, | |
| name: None, | |
| natural_height: None, | |
| natural_width: None, | |
| opacity: None, | |
| } | |
| } | |
| } | |