pub struct ForEdit {
pub schema: String,
pub source_sha256: String,
pub basis: ForEditBasis,
pub settled: ForEditSettled,
pub paragraphs: Vec<ForEditRow>,
pub unanchored_comments: Vec<CommentRef>,
pub source_context: Vec<SourceContextRow>,
pub comments: Vec<CommentRecord>,
pub coverage: ForEditCoverage,
pub next_cursor: Option<String>,
pub input_validity: Option<InputValidity>,
}Expand description
The read --for-edit result document.
Fields§
§schema: Stringjubarte-read-for-edit-v1.
source_sha256: StringThe bound original source digest.
basis: ForEditBasisThe working basis the rows describe.
settled: ForEditSettledSettlement facts.
paragraphs: Vec<ForEditRow>The frozen selection, in document order.
unanchored_comments: Vec<CommentRef>Original comments with no anchor in any story: marks too, labelled at document level instead of silently dropped.
source_context: Vec<SourceContextRow>Read-only original-S observations (--context neighbours).
comments: Vec<CommentRecord>The original source’s comment inventory, so consumers that build on the same view (template generation) need not reparse the package. Not part of the wire document.
coverage: ForEditCoverageCompleteness and omissions.
next_cursor: Option<String>Continuation token; null when the selection is exhausted.
input_validity: Option<InputValidity>The input’s validity findings, as read --json carries them in
summary.input_validity: set only by the CLI, which read the file
(#1340); absent from the library’s result.
Trait Implementations§
impl Eq for ForEdit
Source§impl Serialize for ForEdit
impl Serialize for ForEdit
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for ForEdit
Auto Trait Implementations§
impl Forget for ForEdit
impl Freeze for ForEdit
impl Move for ForEdit
impl RefUnwindSafe for ForEdit
impl Send for ForEdit
impl Sync for ForEdit
impl Unpin for ForEdit
impl UnsafeUnpin for ForEdit
impl UnwindSafe for ForEdit
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
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
key and return true if they are equal.