pub struct EmbeddedFile {
pub name: String,
pub spec: FileSpec,
pub mime: Option<String>,
pub size: Option<u64>,
pub created: Option<Date>,
pub modified: Option<Date>,
pub checksum: Option<Vec<u8>>,
}Expand description
One entry of the catalog’s /EmbeddedFiles name tree: the name it is
filed under, its file specification, and the embedded file stream’s
own entries (Tables 45 and 46).
Covers ISO 32000-1 §7.11.4.
Fields§
§name: StringThe name tree key, decoded as a text string.
spec: FileSpecThe file specification the name maps to.
mime: Option<String>The stream’s /Subtype: a MIME type, its name escapes undone.
size: Option<u64>/Params /Size: the uncompressed size in bytes.
created: Option<Date>/Params /CreationDate.
modified: Option<Date>/Params /ModDate.
checksum: Option<Vec<u8>>/Params /CheckSum: the MD5 digest of the uncompressed bytes, as
stored.
Trait Implementations§
Source§impl Clone for EmbeddedFile
impl Clone for EmbeddedFile
Source§impl Debug for EmbeddedFile
impl Debug for EmbeddedFile
Source§impl PartialEq for EmbeddedFile
impl PartialEq for EmbeddedFile
impl StructuralPartialEq for EmbeddedFile
Auto Trait Implementations§
impl Freeze for EmbeddedFile
impl RefUnwindSafe for EmbeddedFile
impl Send for EmbeddedFile
impl Sync for EmbeddedFile
impl Unpin for EmbeddedFile
impl UnsafeUnpin for EmbeddedFile
impl UnwindSafe for EmbeddedFile
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