pub struct ChocoRecipe {
pub id: String,
pub version: String,
pub plan: InstallPlan,
}Expand description
A parsed Chocolatey package: nuspec identity plus the executable plan.
Fields§
§id: StringPackage <id> from the nuspec (e.g. terraform).
version: StringPackage <version> from the nuspec (e.g. 1.16.0).
plan: InstallPlanThe install plan parsed from tools/chocolateyInstall.ps1.
Trait Implementations§
Source§impl Clone for ChocoRecipe
impl Clone for ChocoRecipe
Source§fn clone(&self) -> ChocoRecipe
fn clone(&self) -> ChocoRecipe
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 ChocoRecipe
impl Debug for ChocoRecipe
Source§impl PartialEq for ChocoRecipe
impl PartialEq for ChocoRecipe
Source§fn eq(&self, other: &ChocoRecipe) -> bool
fn eq(&self, other: &ChocoRecipe) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChocoRecipe
Auto Trait Implementations§
impl Freeze for ChocoRecipe
impl RefUnwindSafe for ChocoRecipe
impl Send for ChocoRecipe
impl Sync for ChocoRecipe
impl Unpin for ChocoRecipe
impl UnsafeUnpin for ChocoRecipe
impl UnwindSafe for ChocoRecipe
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