pub enum ActionEntry {
GitClone,
CargoInstall {
crate_name: Option<String>,
features: Vec<String>,
install_to: Option<PathBuf>,
},
}Expand description
Tagged variant of [[node.action]], dispatched by the TOML kind field
(kebab-case: "git-clone", "cargo-install").
Variants§
GitClone
kind = "git-clone" — fetch the node’s source.
CargoInstall
kind = "cargo-install" — cargo install from the node’s source tree.
Trait Implementations§
Source§impl Clone for ActionEntry
impl Clone for ActionEntry
Source§fn clone(&self) -> ActionEntry
fn clone(&self) -> ActionEntry
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 ActionEntry
impl Debug for ActionEntry
Source§impl<'de> Deserialize<'de> for ActionEntry
impl<'de> Deserialize<'de> for ActionEntry
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
Source§impl PartialEq for ActionEntry
impl PartialEq for ActionEntry
Source§impl Serialize for ActionEntry
impl Serialize for ActionEntry
impl StructuralPartialEq for ActionEntry
Auto Trait Implementations§
impl Freeze for ActionEntry
impl RefUnwindSafe for ActionEntry
impl Send for ActionEntry
impl Sync for ActionEntry
impl Unpin for ActionEntry
impl UnsafeUnpin for ActionEntry
impl UnwindSafe for ActionEntry
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