pub struct ExtractedImage {
pub message_index: usize,
pub content_index: usize,
pub data: Vec<u8>,
pub original_ref: ImageRef,
pub global_index: usize,
}Expand description
An extracted image from a message payload.
Fields§
§message_index: usizeIndex of the message containing this image
content_index: usizeIndex of the content part within the message
data: Vec<u8>The raw image data (decoded from base64 or fetched from URL)
original_ref: ImageRefThe original base64 string or URL (for reconstruction)
global_index: usizeSequential image index across the whole payload
Trait Implementations§
Source§impl Clone for ExtractedImage
impl Clone for ExtractedImage
Source§fn clone(&self) -> ExtractedImage
fn clone(&self) -> ExtractedImage
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 moreAuto Trait Implementations§
impl Freeze for ExtractedImage
impl RefUnwindSafe for ExtractedImage
impl Send for ExtractedImage
impl Sync for ExtractedImage
impl Unpin for ExtractedImage
impl UnsafeUnpin for ExtractedImage
impl UnwindSafe for ExtractedImage
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