pub struct Opset {
pub target_doc: String,
pub target_path: String,
pub precondition: OpsetPrecondition,
pub matcher_v: String,
pub ops: Vec<PlanOp>,
pub frontmatter: Option<Option<String>>,
pub summary: OpsetSummary,
pub converges: bool,
pub diagnostics: Vec<String>,
}Expand description
§7 Opset.
Fields§
§target_doc: String§target_path: String§precondition: OpsetPrecondition§matcher_v: String§ops: Vec<PlanOp>§frontmatter: Option<Option<String>>Some(raw) when the proposed content changes the frontmatter (raw
None drops it).
summary: OpsetSummary§converges: bool§diagnostics: Vec<String>Implementations§
Trait Implementations§
impl StructuralPartialEq for Opset
Auto Trait Implementations§
impl Freeze for Opset
impl RefUnwindSafe for Opset
impl Send for Opset
impl Sync for Opset
impl Unpin for Opset
impl UnsafeUnpin for Opset
impl UnwindSafe for Opset
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