pub struct PDDocumentInformation {
pub dict: COSDictionary,
}Expand description
Document metadata (/Info dictionary).
Fields§
§dict: COSDictionaryImplementations§
Source§impl PDDocumentInformation
impl PDDocumentInformation
pub fn new() -> Self
pub fn from_dict(dict: COSDictionary) -> Self
pub fn title(&self) -> Option<String>
pub fn set_title(&mut self, title: impl Into<String>)
pub fn subject(&self) -> Option<String>
pub fn set_subject(&mut self, subject: impl Into<String>)
pub fn keywords(&self) -> Option<String>
pub fn set_keywords(&mut self, keywords: impl Into<String>)
pub fn creator(&self) -> Option<String>
pub fn set_creator(&mut self, creator: impl Into<String>)
pub fn producer(&self) -> Option<String>
pub fn set_producer(&mut self, producer: impl Into<String>)
pub fn set_creation_date(&mut self, dt: DateTime<Utc>)
pub fn set_modification_date(&mut self, dt: DateTime<Utc>)
Trait Implementations§
Source§impl Clone for PDDocumentInformation
impl Clone for PDDocumentInformation
Source§fn clone(&self) -> PDDocumentInformation
fn clone(&self) -> PDDocumentInformation
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 PDDocumentInformation
impl Debug for PDDocumentInformation
Source§impl Default for PDDocumentInformation
impl Default for PDDocumentInformation
Source§fn default() -> PDDocumentInformation
fn default() -> PDDocumentInformation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PDDocumentInformation
impl RefUnwindSafe for PDDocumentInformation
impl Send for PDDocumentInformation
impl Sync for PDDocumentInformation
impl Unpin for PDDocumentInformation
impl UnsafeUnpin for PDDocumentInformation
impl UnwindSafe for PDDocumentInformation
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