pub enum Representation {
Metadata,
Text,
Structure,
Operators,
EncodedBytes,
DecodedBytes,
ExactBytes,
Preview,
FullDocument,
}Expand description
How the selected thing should be represented.
Variants§
Metadata
Document-level metadata.
Text
Extracted text runs.
Structure
A structured page description.
Operators
A decoded content operator stream.
EncodedBytes
Exact encoded stream bytes.
DecodedBytes
Decoded (inflated) stream bytes.
ExactBytes
Exact source bytes.
Preview
A deterministic structured page preview.
FullDocument
The full source document.
Implementations§
Trait Implementations§
Source§impl Clone for Representation
impl Clone for Representation
impl Copy for Representation
Source§impl Debug for Representation
impl Debug for Representation
impl Eq for Representation
Source§impl PartialEq for Representation
impl PartialEq for Representation
impl StructuralPartialEq for Representation
Auto Trait Implementations§
impl Freeze for Representation
impl RefUnwindSafe for Representation
impl Send for Representation
impl Sync for Representation
impl Unpin for Representation
impl UnsafeUnpin for Representation
impl UnwindSafe for Representation
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