pub struct UiNodeImageAttributes {
pub height: i64,
pub id: String,
pub node_type: String,
pub src: String,
pub width: i64,
}
Fields§
§height: i64
Height of the image
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 "img".
src: String
The image’s source URL. format: uri
width: i64
Width of the image
Implementations§
Trait Implementations§
source§impl Clone for UiNodeImageAttributes
impl Clone for UiNodeImageAttributes
source§fn clone(&self) -> UiNodeImageAttributes
fn clone(&self) -> UiNodeImageAttributes
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 UiNodeImageAttributes
impl Debug for UiNodeImageAttributes
source§impl<'de> Deserialize<'de> for UiNodeImageAttributes
impl<'de> Deserialize<'de> for UiNodeImageAttributes
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<UiNodeImageAttributes> for UiNodeImageAttributes
impl PartialEq<UiNodeImageAttributes> for UiNodeImageAttributes
source§fn eq(&self, other: &UiNodeImageAttributes) -> bool
fn eq(&self, other: &UiNodeImageAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.