#[non_exhaustive]pub enum MetadataTag {
Title,
Author,
Subject,
Keywords,
Creator,
Producer,
CreationDate,
ModDate,
}Expand description
Standard PDF metadata tags accepted by PdfDocument::metadata.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Title
Document title.
Author
Author.
Subject
Subject.
Keywords
Keywords.
Creator
Application that created the original document.
Producer
Application that produced the PDF.
CreationDate
Creation date (PDF date string, e.g. D:20260810...).
ModDate
Last-modified date (PDF date string).
Trait Implementations§
Source§impl Clone for MetadataTag
impl Clone for MetadataTag
Source§fn clone(&self) -> MetadataTag
fn clone(&self) -> MetadataTag
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 moreimpl Copy for MetadataTag
Source§impl Debug for MetadataTag
impl Debug for MetadataTag
impl Eq for MetadataTag
Source§impl PartialEq for MetadataTag
impl PartialEq for MetadataTag
impl StructuralPartialEq for MetadataTag
Auto Trait Implementations§
impl Freeze for MetadataTag
impl RefUnwindSafe for MetadataTag
impl Send for MetadataTag
impl Sync for MetadataTag
impl Unpin for MetadataTag
impl UnsafeUnpin for MetadataTag
impl UnwindSafe for MetadataTag
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