pub struct UiNodeImageAttributes {
pub height: i64,
pub id: String,
pub node_type: String,
pub src: String,
pub width: i64,
}Fields§
§height: i64Height of the image
id: StringA unique identifier
node_type: StringNodeType 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: StringThe image’s source URL. format: uri
width: i64Width 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 for UiNodeImageAttributes
impl PartialEq 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 ==.source§impl Serialize for UiNodeImageAttributes
impl Serialize for UiNodeImageAttributes
impl StructuralPartialEq for UiNodeImageAttributes
Auto Trait Implementations§
impl RefUnwindSafe for UiNodeImageAttributes
impl Send for UiNodeImageAttributes
impl Sync for UiNodeImageAttributes
impl Unpin for UiNodeImageAttributes
impl UnwindSafe for UiNodeImageAttributes
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