ory_oathkeeper_client/models/
json_web_key_set.rs

1/*
2 * Ory Oathkeeper API
3 *
4 * Documentation for all of Ory Oathkeeper's APIs. 
5 *
6 * The version of the OpenAPI document: v25.4.0
7 * Contact: hi@ory.sh
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, 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<models::JsonWebKey>>,
19}
20
21impl JsonWebKeySet {
22    pub fn new() -> JsonWebKeySet {
23        JsonWebKeySet {
24            keys: None,
25        }
26    }
27}
28