Struct cobble_core::minecraft::models::File
source · pub struct File {
pub id: Option<String>,
pub path: Option<String>,
pub sha1: String,
pub size: usize,
pub url: String,
}
Expand description
Information about a downloadable file.
Fields§
§id: Option<String>
ID of the file
path: Option<String>
Path of the file
sha1: String
SHA1 of the file
size: usize
Size of the file
url: String
Url of the file
Trait Implementations§
source§impl<'de> Deserialize<'de> for File
impl<'de> Deserialize<'de> for File
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more