pub struct ReferenceXObject {
    pub file: Vec<u8>,
    pub page: i64,
    pub id: [i64; 2],
}
Expand description

PDF 1.4 and higher Contains a PDF file to be embedded in the current PDF

Fields§

§file: Vec<u8>

(Required) The file containing the target document. (?)

§page: i64

Page number to embed

§id: [i64; 2]

Optional, should be the document ID and version ID from the metadata

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sets value as a parameter of self.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.