Struct ory_client::models::ui_node::UiNode
source · pub struct UiNode {
pub attributes: Box<UiNodeAttributes>,
pub group: GroupEnum,
pub messages: Vec<UiText>,
pub meta: Box<UiNodeMeta>,
pub _type: TypeEnum,
}
Expand description
UiNode : Nodes are represented as HTML elements or their native UI equivalents. For example, a node can be an <img>
tag, or an <input element>
but also some plain text
.
Fields§
§attributes: Box<UiNodeAttributes>
§group: GroupEnum
Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup
messages: Vec<UiText>
§meta: Box<UiNodeMeta>
§_type: TypeEnum
The node’s type text Text input Input img Image a Anchor script Script
Implementations§
source§impl UiNode
impl UiNode
sourcepub fn new(
attributes: UiNodeAttributes,
group: GroupEnum,
messages: Vec<UiText>,
meta: UiNodeMeta,
_type: TypeEnum
) -> UiNode
pub fn new(
attributes: UiNodeAttributes,
group: GroupEnum,
messages: Vec<UiText>,
meta: UiNodeMeta,
_type: TypeEnum
) -> UiNode
Nodes are represented as HTML elements or their native UI equivalents. For example, a node can be an <img>
tag, or an <input element>
but also some plain text
.
Trait Implementations§
source§impl<'de> Deserialize<'de> for UiNode
impl<'de> Deserialize<'de> for UiNode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more