#[non_exhaustive]pub enum ReadValue {
Markdown(String),
Plaintext(String),
Value(QuillValue),
}Expand description
The interpreted value at a field address: the output of TypedReader::get.
A content field decodes to its codec’s projection (richtext to markdown,
plaintext to literal text); every other declared type carries its canonical
value verbatim (the transport read, reached through the schema). Absence is
the None of the enclosing Option, not a variant here.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Markdown(String)
A richtext field projected to markdown (export ∘ decode): the lossy,
on-demand view (content-only marks do not survive markdown).
Plaintext(String)
A plaintext field projected through its literal codec (to_plaintext ∘ decode): verbatim text, marks never interpreted (*hi* is four
characters, not emphasis).
Value(QuillValue)
A non-content field’s canonical value, verbatim: the schema-free
transport read a Document returns, delivered here with schema authority.