pub struct PlanResult {
pub text: Option<String>,
pub written_to: Option<PathBuf>,
}Expand description
Result of running a plan.
Fields§
§text: Option<String>Captured plan text, when output was set (otherwise the plan was
streamed to stdout by the underlying agent and nothing is captured
here).
written_to: Option<PathBuf>Path the plan was written to, when output was set.
Trait Implementations§
Source§impl Clone for PlanResult
impl Clone for PlanResult
Source§fn clone(&self) -> PlanResult
fn clone(&self) -> PlanResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlanResult
impl Debug for PlanResult
Source§impl Default for PlanResult
impl Default for PlanResult
Source§fn default() -> PlanResult
fn default() -> PlanResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlanResult
impl RefUnwindSafe for PlanResult
impl Send for PlanResult
impl Sync for PlanResult
impl Unpin for PlanResult
impl UnsafeUnpin for PlanResult
impl UnwindSafe for PlanResult
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