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: GroupEnumGroup 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: TypeEnumThe 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
source§impl PartialEq<UiNode> for UiNode
impl PartialEq<UiNode> for UiNode
impl StructuralPartialEq for UiNode
Auto Trait Implementations§
impl RefUnwindSafe for UiNode
impl Send for UiNode
impl Sync for UiNode
impl Unpin for UiNode
impl UnwindSafe for UiNode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more