pub enum RunInput {
Http {
method: String,
path: String,
query: Option<String>,
},
Cli {
primary_command: String,
candidate_command: String,
secondary_command: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunInput
impl<'de> Deserialize<'de> for RunInput
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 RunInput
impl RefUnwindSafe for RunInput
impl Send for RunInput
impl Sync for RunInput
impl Unpin for RunInput
impl UnsafeUnpin for RunInput
impl UnwindSafe for RunInput
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