pub struct EventOptions {
pub yaml: bool,
pub buffer_tree: bool,
}Expand description
What to include in the stream.
Fields§
§yaml: boolReport the YAML events inside the tree, not just its extent.
buffer_tree: boolKeep the tree’s text, so the end-of-tree event can carry it.
Trait Implementations§
Source§impl Clone for EventOptions
impl Clone for EventOptions
Source§fn clone(&self) -> EventOptions
fn clone(&self) -> EventOptions
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 moreimpl Copy for EventOptions
Source§impl Debug for EventOptions
impl Debug for EventOptions
Source§impl Default for EventOptions
impl Default for EventOptions
Source§fn default() -> EventOptions
fn default() -> EventOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EventOptions
impl RefUnwindSafe for EventOptions
impl Send for EventOptions
impl Sync for EventOptions
impl Unpin for EventOptions
impl UnsafeUnpin for EventOptions
impl UnwindSafe for EventOptions
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