authentik_rust/models/
footer_link.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2024.2.1
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13/// FooterLink : Links returned in Config API
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct FooterLink {
16    #[serde(rename = "href")]
17    pub href: String,
18    #[serde(rename = "name")]
19    pub name: String,
20}
21
22impl FooterLink {
23    /// Links returned in Config API
24    pub fn new(href: String, name: String) -> FooterLink {
25        FooterLink {
26            href,
27            name,
28        }
29    }
30}
31