pub enum PromptAction {
PkgmgrInstall {
commands: HashMap<String, String>,
},
DotnetToolUpdate {
command: String,
},
}Expand description
Actionable prompt payload.
Variants§
PkgmgrInstall
Show platform-specific install commands.
DotnetToolUpdate
Run a single dotnet tool install/update command.
Trait Implementations§
Source§impl Clone for PromptAction
impl Clone for PromptAction
Source§fn clone(&self) -> PromptAction
fn clone(&self) -> PromptAction
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 PromptAction
impl Debug for PromptAction
Source§impl<'de> Deserialize<'de> for PromptAction
impl<'de> Deserialize<'de> for PromptAction
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PromptAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PromptAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PromptAction
impl PartialEq for PromptAction
Source§fn eq(&self, other: &PromptAction) -> bool
fn eq(&self, other: &PromptAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PromptAction
impl Serialize for PromptAction
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PromptAction
impl StructuralPartialEq for PromptAction
Auto Trait Implementations§
impl Freeze for PromptAction
impl RefUnwindSafe for PromptAction
impl Send for PromptAction
impl Sync for PromptAction
impl Unpin for PromptAction
impl UnsafeUnpin for PromptAction
impl UnwindSafe for PromptAction
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