polywrap_datetime_plugin 0.0.1-beta.4

Polywrap rust datetime plugin
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// NOTE: This is an auto-generated file.
///       All modifications will be overwritten.

use std::sync::Arc;
use polywrap_core::invoker::Invoker;
use polywrap_plugin::{error::PluginError, module::PluginModule};
use serde::{Serialize, Deserialize};
use super::types::*;

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct ArgsCurrentTimestamp {
}

pub trait Module: PluginModule {
  fn current_timestamp(&mut self, args: &ArgsCurrentTimestamp, invoker: Arc<dyn Invoker>) -> Result<String, PluginError>;
}