open_api_hydra/models/
completed_request.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 CompletedRequest {
16    /// RedirectURL is the URL which you should redirect the user to once the authentication process is completed.
17    #[serde(rename = "redirect_to", skip_serializing_if = "Option::is_none")]
18    pub redirect_to: Option<String>,
19}
20
21impl CompletedRequest {
22    pub fn new() -> CompletedRequest {
23        CompletedRequest {
24            redirect_to: None,
25        }
26    }
27}
28
29