pub struct UiNodeTextAttributes {
pub id: String,
pub node_type: String,
pub text: Box<UiText>,
}
Fields§
§id: String
A unique identifier
node_type: String
NodeType 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 "text".
text: Box<UiText>
Implementations§
Trait Implementations§
source§impl Clone for UiNodeTextAttributes
impl Clone for UiNodeTextAttributes
source§fn clone(&self) -> UiNodeTextAttributes
fn clone(&self) -> UiNodeTextAttributes
Returns a copy 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 UiNodeTextAttributes
impl Debug for UiNodeTextAttributes
source§impl<'de> Deserialize<'de> for UiNodeTextAttributes
impl<'de> Deserialize<'de> for UiNodeTextAttributes
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 UiNodeTextAttributes
impl PartialEq for UiNodeTextAttributes
source§fn eq(&self, other: &UiNodeTextAttributes) -> bool
fn eq(&self, other: &UiNodeTextAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UiNodeTextAttributes
impl Serialize for UiNodeTextAttributes
impl StructuralPartialEq for UiNodeTextAttributes
Auto Trait Implementations§
impl Freeze for UiNodeTextAttributes
impl RefUnwindSafe for UiNodeTextAttributes
impl Send for UiNodeTextAttributes
impl Sync for UiNodeTextAttributes
impl Unpin for UiNodeTextAttributes
impl UnwindSafe for UiNodeTextAttributes
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