pub struct ImageValue {
pub id: String,
pub label: String,
pub size: u64,
pub width: Option<u32>,
pub height: Option<u32>,
}Fields§
§id: String§label: String§size: u64§width: Option<u32>§height: Option<u32>Implementations§
Trait Implementations§
Source§impl Clone for ImageValue
impl Clone for ImageValue
Source§fn clone(&self) -> ImageValue
fn clone(&self) -> ImageValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImageValue
impl Debug for ImageValue
Source§impl<'de> Deserialize<'de> for ImageValue
impl<'de> Deserialize<'de> for ImageValue
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
impl Eq for ImageValue
Source§impl PartialEq for ImageValue
impl PartialEq for ImageValue
Source§fn eq(&self, other: &ImageValue) -> bool
fn eq(&self, other: &ImageValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ImageValue
impl Serialize for ImageValue
impl StructuralPartialEq for ImageValue
Auto Trait Implementations§
impl Freeze for ImageValue
impl RefUnwindSafe for ImageValue
impl Send for ImageValue
impl Sync for ImageValue
impl Unpin for ImageValue
impl UnsafeUnpin for ImageValue
impl UnwindSafe for ImageValue
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