pub struct PlanRequest {
pub target: Utf8PathBuf,
pub intent: Intent,
pub selector: String,
pub fetch: bool,
pub observe_forge: bool,
pub flags: Flags,
pub decisions: BTreeMap<String, String>,
}Expand description
One request to compute a plan, as the store keeps it beside the plan so an apply can compute the same plan again and compare.
Fields§
§target: Utf8PathBufThe target, as given.
intent: IntentWhat the caller asked the plan to be.
selector: StringThe selector as given: embedded, latest, or an exact version.
fetch: boolWhether a recorded release the cache does not hold is fetched.
observe_forge: boolWhether the forge is read.
flags: FlagsThe explicit answers.
decisions: BTreeMap<String, String>The decisions selected, by id.
Trait Implementations§
Source§impl Clone for PlanRequest
impl Clone for PlanRequest
Source§fn clone(&self) -> PlanRequest
fn clone(&self) -> PlanRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlanRequest
impl Debug for PlanRequest
Source§impl<'de> Deserialize<'de> for PlanRequest
impl<'de> Deserialize<'de> for PlanRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlanRequest
impl RefUnwindSafe for PlanRequest
impl Send for PlanRequest
impl Sync for PlanRequest
impl Unpin for PlanRequest
impl UnsafeUnpin for PlanRequest
impl UnwindSafe for PlanRequest
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