ory_client_client/models/ui_node_text_attributes.rs
1/*
2 * Ory APIs
3 *
4 * Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5 *
6 * The version of the OpenAPI document: v0.0.1-alpha.1
7 * Contact: support@ory.sh
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct UiNodeTextAttributes {
16 #[serde(rename = "text")]
17 pub text: Box<crate::models::UiText>,
18}
19
20impl UiNodeTextAttributes {
21 pub fn new(text: crate::models::UiText) -> UiNodeTextAttributes {
22 UiNodeTextAttributes {
23 text: Box::new(text),
24 }
25 }
26}
27
28