pub struct ReaderCaps {
pub streaming: bool,
pub paginated: bool,
pub metadata: bool,
}Expand description
What a reader can do. The CLI consults this to know, for instance, whether offering
--page makes any sense.
Fields§
§streaming: boolEmits events without materializing the whole document.
paginated: boolHas navigable pages.
metadata: boolCan contribute metadata.
Trait Implementations§
Source§impl Clone for ReaderCaps
impl Clone for ReaderCaps
Source§fn clone(&self) -> ReaderCaps
fn clone(&self) -> ReaderCaps
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 ReaderCaps
Source§impl Debug for ReaderCaps
impl Debug for ReaderCaps
Source§impl Default for ReaderCaps
impl Default for ReaderCaps
Source§fn default() -> ReaderCaps
fn default() -> ReaderCaps
Returns the “default value” for a type. Read more
impl Eq for ReaderCaps
Source§impl PartialEq for ReaderCaps
impl PartialEq for ReaderCaps
impl StructuralPartialEq for ReaderCaps
Auto Trait Implementations§
impl Freeze for ReaderCaps
impl RefUnwindSafe for ReaderCaps
impl Send for ReaderCaps
impl Sync for ReaderCaps
impl Unpin for ReaderCaps
impl UnsafeUnpin for ReaderCaps
impl UnwindSafe for ReaderCaps
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