pub struct UiNodeAnchorAttributes {
pub href: String,
pub id: String,
pub node_type: NodeTypeEnum,
pub title: Box<UiText>,
}Fields§
§href: StringThe link’s href (destination) URL. format: uri
id: StringA unique identifier
node_type: NodeTypeEnumNodeType represents this node’s types. It is a mirror of node.type and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is "a". text Text input Input img Image a Anchor script Script div Division
title: Box<UiText>Implementations§
Source§impl UiNodeAnchorAttributes
impl UiNodeAnchorAttributes
pub fn new( href: String, id: String, node_type: NodeTypeEnum, title: UiText, ) -> UiNodeAnchorAttributes
Trait Implementations§
Source§impl Clone for UiNodeAnchorAttributes
impl Clone for UiNodeAnchorAttributes
Source§fn clone(&self) -> UiNodeAnchorAttributes
fn clone(&self) -> UiNodeAnchorAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiNodeAnchorAttributes
impl Debug for UiNodeAnchorAttributes
Source§impl Default for UiNodeAnchorAttributes
impl Default for UiNodeAnchorAttributes
Source§fn default() -> UiNodeAnchorAttributes
fn default() -> UiNodeAnchorAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UiNodeAnchorAttributes
impl<'de> Deserialize<'de> for UiNodeAnchorAttributes
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 for UiNodeAnchorAttributes
impl PartialEq for UiNodeAnchorAttributes
Source§impl Serialize for UiNodeAnchorAttributes
impl Serialize for UiNodeAnchorAttributes
impl StructuralPartialEq for UiNodeAnchorAttributes
Auto Trait Implementations§
impl Freeze for UiNodeAnchorAttributes
impl RefUnwindSafe for UiNodeAnchorAttributes
impl Send for UiNodeAnchorAttributes
impl Sync for UiNodeAnchorAttributes
impl Unpin for UiNodeAnchorAttributes
impl UnwindSafe for UiNodeAnchorAttributes
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