pub struct ReadOptions {
pub track_changes: TrackChanges,
pub comments: bool,
pub dates: bool,
pub page_markers: bool,
pub select: Option<Select>,
pub source: Option<String>,
}Expand description
How read (and jubarte read) prints the agent view. Defaults
to all tracked changes as CriticMarkup, comments inline, no inline
timestamps on notes, <!-- page N of M --> lines from the layout
pass, no selection, and no source name.
Fields§
§track_changes: TrackChangesKeep the changes as CriticMarkup (All), or print the document
after Word’s Accept All or Reject All with rev clauses.
comments: boolComments inline (true), or hidden with their ids on the id lines.
dates: boolTimestamps inline on the notes of an author with several. An author with undated marks always gets explicit dated notes.
page_markers: bool<!-- page N of M --> lines from the layout pass (true), or none.
select: Option<Select>Which blocks of the body to print.
source: Option<String>The name printed as source: in the header.
Trait Implementations§
Source§impl Clone for ReadOptions
impl Clone for ReadOptions
Source§fn clone(&self) -> ReadOptions
fn clone(&self) -> ReadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReadOptions
impl Debug for ReadOptions
Source§impl Default for ReadOptions
impl Default for ReadOptions
Source§fn default() -> ReadOptions
fn default() -> ReadOptions
Returns the “default value” for a type. Read more
impl Eq for ReadOptions
Source§impl PartialEq for ReadOptions
impl PartialEq for ReadOptions
impl StructuralPartialEq for ReadOptions
Auto Trait Implementations§
impl Forget for ReadOptions
impl Freeze for ReadOptions
impl Move for ReadOptions
impl RefUnwindSafe for ReadOptions
impl Send for ReadOptions
impl Sync for ReadOptions
impl Unpin for ReadOptions
impl UnsafeUnpin for ReadOptions
impl UnwindSafe for ReadOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.