1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright (c) 2025 Hamadi
// Licensed under the MIT License
//! API response structures for different Java distribution providers
//!
//! These structures are minimal and only deserialize the fields we need,
//! ignoring all other fields from the API responses for better performance.
use Deserialize;
/// Zulu API response structure
/// Only deserializes the download_url field, ignoring all other fields
pub
/// Foojay API response structure (for Liberica)
/// Only deserializes the result array
pub
/// Individual package in Foojay response
/// Only deserializes the links object
pub
/// Links object in Foojay package
/// Only deserializes the download redirect URL
pub