Struct dioxus_cli::plugin::interface::PluginServeInfo
source · pub struct PluginServeInfo<'lua> {
pub interval: i32,
pub on_start: Option<Function<'lua>>,
pub on_interval: Option<Function<'lua>>,
pub on_rebuild: Option<Function<'lua>>,
pub on_shutdown: Option<Function<'lua>>,
}
Fields§
§interval: i32
§on_start: Option<Function<'lua>>
§on_interval: Option<Function<'lua>>
§on_rebuild: Option<Function<'lua>>
§on_shutdown: Option<Function<'lua>>
Trait Implementations§
source§impl<'lua> Clone for PluginServeInfo<'lua>
impl<'lua> Clone for PluginServeInfo<'lua>
source§fn clone(&self) -> PluginServeInfo<'lua>
fn clone(&self) -> PluginServeInfo<'lua>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'lua> Debug for PluginServeInfo<'lua>
impl<'lua> Debug for PluginServeInfo<'lua>
source§impl<'lua> Default for PluginServeInfo<'lua>
impl<'lua> Default for PluginServeInfo<'lua>
source§fn default() -> PluginServeInfo<'lua>
fn default() -> PluginServeInfo<'lua>
Returns the “default value” for a type. Read more
source§impl<'lua> FromLua<'lua> for PluginServeInfo<'lua>
impl<'lua> FromLua<'lua> for PluginServeInfo<'lua>
Auto Trait Implementations§
impl<'lua> !RefUnwindSafe for PluginServeInfo<'lua>
impl<'lua> !Send for PluginServeInfo<'lua>
impl<'lua> !Sync for PluginServeInfo<'lua>
impl<'lua> Unpin for PluginServeInfo<'lua>
impl<'lua> !UnwindSafe for PluginServeInfo<'lua>
Blanket Implementations§
source§impl<'lua, T> FromLuaMulti<'lua> for Twhere
T: FromLua<'lua>,
impl<'lua, T> FromLuaMulti<'lua> for Twhere T: FromLua<'lua>,
source§fn from_lua_multi(values: MultiValue<'lua>, lua: &'lua Lua) -> Result<T, Error>
fn from_lua_multi(values: MultiValue<'lua>, lua: &'lua Lua) -> Result<T, Error>
Performs the conversion. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<'lua, T> ToLuaMulti<'lua> for Twhere
T: ToLua<'lua>,
impl<'lua, T> ToLuaMulti<'lua> for Twhere T: ToLua<'lua>,
source§fn to_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
fn to_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
Performs the conversion.