Struct printpdf::XmpMetadata
source · pub struct XmpMetadata {
pub document_id: String,
pub rendition_class: Option<String>,
pub document_version: u32,
}
Expand description
Initial struct for Xmp metatdata. This should be expanded later for XML handling, etc. Right now it just fills out the necessary fields
Fields§
§document_id: String
Document ID
rendition_class: Option<String>
Web-viewable or “default” or to be left empty. Usually “default”.
document_version: u32
Document version
Implementations§
Trait Implementations§
source§impl Clone for XmpMetadata
impl Clone for XmpMetadata
source§fn clone(&self) -> XmpMetadata
fn clone(&self) -> XmpMetadata
Returns a copy 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 RefUnwindSafe for XmpMetadata
impl Send for XmpMetadata
impl Sync for XmpMetadata
impl Unpin for XmpMetadata
impl UnwindSafe for XmpMetadata
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