open_api_hydra/models/
json_web_key_set.rs

1/*
2 * ORY Hydra
3 *
4 * Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here.
5 *
6 * The version of the OpenAPI document: latest
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct JsonWebKeySet {
16    /// The value of the \"keys\" parameter is an array of JWK values.  By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired.
17    #[serde(rename = "keys", skip_serializing_if = "Option::is_none")]
18    pub keys: Option<Vec<crate::models::JsonWebKey>>,
19}
20
21impl JsonWebKeySet {
22    pub fn new() -> JsonWebKeySet {
23        JsonWebKeySet {
24            keys: None,
25        }
26    }
27}
28
29