pub struct ImageData {
pub data: Vec<u8>,
pub content_type: String,
}Expand description
Image data keyed by relationship/embed ID.
Fields§
§data: Vec<u8>Raw image bytes (PNG, JPEG, etc.).
content_type: StringMIME content type (e.g., “image/png”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageData
impl RefUnwindSafe for ImageData
impl Send for ImageData
impl Sync for ImageData
impl Unpin for ImageData
impl UnsafeUnpin for ImageData
impl UnwindSafe for ImageData
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