pub struct ExtractedAttachment {
pub path: PathBuf,
pub original_data_url: String,
pub mime_type: String,
}Expand description
Information about an extracted attachment.
Fields§
§path: PathBufThe file path where the attachment was saved.
original_data_url: StringThe original data URL that was replaced.
mime_type: StringThe MIME type of the attachment (e.g., “image/png”).
Trait Implementations§
Source§impl Clone for ExtractedAttachment
impl Clone for ExtractedAttachment
Source§fn clone(&self) -> ExtractedAttachment
fn clone(&self) -> ExtractedAttachment
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 moreAuto Trait Implementations§
impl Freeze for ExtractedAttachment
impl RefUnwindSafe for ExtractedAttachment
impl Send for ExtractedAttachment
impl Sync for ExtractedAttachment
impl Unpin for ExtractedAttachment
impl UnwindSafe for ExtractedAttachment
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