pub struct EntryImage {
pub extension: String,
pub content: Vec<u8>,
}Fields§
§extension: Stringjpg, jpeg, png, or webp.
content: Vec<u8>Trait Implementations§
Source§impl Clone for EntryImage
impl Clone for EntryImage
Source§impl Debug for EntryImage
impl Debug for EntryImage
Source§impl Default for EntryImage
impl Default for EntryImage
Source§impl<'de> Deserialize<'de> for EntryImagewhere
EntryImage: Default,
impl<'de> Deserialize<'de> for EntryImagewhere
EntryImage: Default,
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 EntryImage
impl PartialEq for EntryImage
Source§impl Serialize for EntryImage
impl Serialize for EntryImage
impl StructuralPartialEq for EntryImage
Auto Trait Implementations§
impl Freeze for EntryImage
impl RefUnwindSafe for EntryImage
impl Send for EntryImage
impl Sync for EntryImage
impl Unpin for EntryImage
impl UnsafeUnpin for EntryImage
impl UnwindSafe for EntryImage
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