pub struct AttachmentOptions {
pub mime_type: Option<String>,
pub description: Option<String>,
pub creation_date: Option<String>,
pub mod_date: Option<String>,
}Expand description
Options for Document::add_attachment.
Fields§
§mime_type: Option<String>MIME type, written as the embedded file’s /Subtype.
description: Option<String>/Desc of the file specification.
creation_date: Option<String>Creation date as a PDF date string (D:...); no clock is read.
mod_date: Option<String>Modification date as a PDF date string.
Trait Implementations§
Source§impl Clone for AttachmentOptions
impl Clone for AttachmentOptions
Source§fn clone(&self) -> AttachmentOptions
fn clone(&self) -> AttachmentOptions
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 AttachmentOptions
impl Debug for AttachmentOptions
Source§impl Default for AttachmentOptions
impl Default for AttachmentOptions
Source§fn default() -> AttachmentOptions
fn default() -> AttachmentOptions
Returns the “default value” for a type. Read more
impl Eq for AttachmentOptions
Source§impl PartialEq for AttachmentOptions
impl PartialEq for AttachmentOptions
impl StructuralPartialEq for AttachmentOptions
Auto Trait Implementations§
impl Freeze for AttachmentOptions
impl RefUnwindSafe for AttachmentOptions
impl Send for AttachmentOptions
impl Sync for AttachmentOptions
impl Unpin for AttachmentOptions
impl UnsafeUnpin for AttachmentOptions
impl UnwindSafe for AttachmentOptions
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