/* * Gitea API. * * This documentation describes the Gitea API. * * The version of the OpenAPI document: 1.17.3 * * Generated by: https://openapi-generator.tech */ /// GitBlobResponse : GitBlobResponse represents a git blob #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct GitBlobResponse { #[serde(rename = "content", skip_serializing_if = "Option::is_none")] pub content: Option, #[serde(rename = "encoding", skip_serializing_if = "Option::is_none")] pub encoding: Option, #[serde(rename = "sha", skip_serializing_if = "Option::is_none")] pub sha: Option, #[serde(rename = "size", skip_serializing_if = "Option::is_none")] pub size: Option, #[serde(rename = "url", skip_serializing_if = "Option::is_none")] pub url: Option, } impl GitBlobResponse { /// GitBlobResponse represents a git blob pub fn new() -> GitBlobResponse { GitBlobResponse { content: None, encoding: None, sha: None, size: None, url: None, } } }