pub struct IconifyIcon {
pub body: String,
pub width: Option<u32>,
pub height: Option<u32>,
pub view_box: Option<String>,
}Expand description
Icon data returned from the Iconify API
Fields§
§body: String§width: Option<u32>§height: Option<u32>§view_box: Option<String>Trait Implementations§
Source§impl Clone for IconifyIcon
impl Clone for IconifyIcon
Source§fn clone(&self) -> IconifyIcon
fn clone(&self) -> IconifyIcon
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 IconifyIcon
impl Debug for IconifyIcon
Source§impl<'de> Deserialize<'de> for IconifyIcon
impl<'de> Deserialize<'de> for IconifyIcon
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
Auto Trait Implementations§
impl Freeze for IconifyIcon
impl RefUnwindSafe for IconifyIcon
impl Send for IconifyIcon
impl Sync for IconifyIcon
impl Unpin for IconifyIcon
impl UnwindSafe for IconifyIcon
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