pub struct DocumentMetadata {
pub created_ms: Option<i64>,
pub modified_ms: Option<i64>,
pub background_color: Option<Color>,
pub page_dimensions: Option<(u32, u32)>,
pub page_ids: Vec<String>,
}Expand description
Document-level metadata extracted from the .sdocx archive.
Fields§
§created_ms: Option<i64>Creation timestamp in milliseconds since the Unix epoch.
modified_ms: Option<i64>Last modification timestamp in milliseconds since the Unix epoch.
background_color: Option<Color>Background color of the document.
page_dimensions: Option<(u32, u32)>Default page dimensions as (width, height) in pixels.
page_ids: Vec<String>Ordered list of page UUIDs.
Trait Implementations§
Source§impl Clone for DocumentMetadata
impl Clone for DocumentMetadata
Source§fn clone(&self) -> DocumentMetadata
fn clone(&self) -> DocumentMetadata
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 moreSource§impl Debug for DocumentMetadata
impl Debug for DocumentMetadata
Source§impl Default for DocumentMetadata
impl Default for DocumentMetadata
Source§fn default() -> DocumentMetadata
fn default() -> DocumentMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DocumentMetadata
impl RefUnwindSafe for DocumentMetadata
impl Send for DocumentMetadata
impl Sync for DocumentMetadata
impl Unpin for DocumentMetadata
impl UnsafeUnpin for DocumentMetadata
impl UnwindSafe for DocumentMetadata
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