pub struct Note {
pub tokens: Vec<String>,
pub deferred: Vec<String>,
pub runs: Vec<Run>,
pub provenance: Vec<String>,
}Expand description
A parsed note body: the skip tokens, and the runs recorded against this key.
THE reader and THE writer of the format, so that the three callers that
rewrite a note cannot each drop a half of it they were not thinking
about. stamp_push merging tokens used to render the note from its own
token list alone, which — once runs existed — would have erased every one
of them on the next push.
Fields§
§tokens: Vec<String>§deferred: Vec<String>Commit-time gates deferred to CI on this content; see the module documentation. Never trimmed with the runs.
runs: Vec<Run>§provenance: Vec<String>PROVENANCE lines, verbatim, kept through every rewrite.
Implementations§
Trait Implementations§
impl Eq for Note
impl StructuralPartialEq for Note
Auto Trait Implementations§
impl Forget for Note
impl Freeze for Note
impl Move for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Note
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