pub struct PlanPreview {
pub results: Vec<OpResult>,
pub revisions: Vec<PlanRevision>,
pub diffs: Vec<(String, (String, String))>,
pub identity: Vec<(String, IdentityPreview)>,
pub retarget: Vec<RetargetPreview>,
pub summary: Vec<String>,
}Expand description
§11.4 preview: excluded from the digest, omittable on echo. identity
(per document, in effect order) and retarget (per effect) are present
on the wire only when non-empty (mutate 3.0); summary (3.3) always.
Fields§
§results: Vec<OpResult>§revisions: Vec<PlanRevision>§diffs: Vec<(String, (String, String))>Path → (before, after), in insertion order.
identity: Vec<(String, IdentityPreview)>Doc id → the whole-document planner’s identity decision.
retarget: Vec<RetargetPreview>§summary: Vec<String>One line in words per resolved effect (3.3, crate::summary);
always on the wire ([] for a plan with nothing to do).
Implementations§
Trait Implementations§
Source§impl Clone for PlanPreview
impl Clone for PlanPreview
Source§impl Debug for PlanPreview
impl Debug for PlanPreview
Source§impl Default for PlanPreview
impl Default for PlanPreview
Source§impl PartialEq for PlanPreview
impl PartialEq for PlanPreview
impl StructuralPartialEq for PlanPreview
Auto Trait Implementations§
impl Freeze for PlanPreview
impl RefUnwindSafe for PlanPreview
impl Send for PlanPreview
impl Sync for PlanPreview
impl Unpin for PlanPreview
impl UnsafeUnpin for PlanPreview
impl UnwindSafe for PlanPreview
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