todo for actions

This commit is contained in:
Aiden McClelland
2021-09-15 11:10:04 -06:00
committed by Aiden McClelland
parent 5475f29408
commit 9fe132fcac

View File

@@ -16,6 +16,8 @@ use crate::{Error, ResultExt};
pub mod docker;
// TODO: create RPC endpoint that looks up the appropriate action and calls `execute`
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize)]
pub struct ActionId<S: AsRef<str> = String>(Id<S>);
impl<S: AsRef<str>> AsRef<ActionId<S>> for ActionId<S> {
@@ -160,7 +162,7 @@ impl ActionImplementation {
pub struct NoOutput;
impl<'de> Deserialize<'de> for NoOutput {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D>(_: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{