pub struct ActPackageMeta {
pub name: &'static str,
pub desc: &'static str,
pub icon: &'static str,
pub doc: &'static str,
pub version: &'static str,
pub schema: Value,
pub run_as: ActRunAs,
pub resources: Vec<ActResource>,
pub catalog: ActPackageCatalog,
}Fields§
§name: &'static strpackage simple name
desc: &'static strpackage description
icon: &'static stricon name to display in the editor ui
doc: &'static strreleated doc url to show the help
version: &'static strpackage version
schema: Valuejson schema for package inputs
run_as: ActRunAspackage run as Irq, Msg or Func Func is only used internally
resources: Vec<ActResource>package resources to the orgnize multiple operations it is used for the editor ui to search and select the operations
catalog: ActPackageCatalogpackage catalog
Implementations§
Trait Implementations§
Source§impl Clone for ActPackageMeta
impl Clone for ActPackageMeta
Source§fn clone(&self) -> ActPackageMeta
fn clone(&self) -> ActPackageMeta
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 ActPackageMeta
impl Debug for ActPackageMeta
Source§impl Deserialize<'static> for ActPackageMeta
impl Deserialize<'static> for ActPackageMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ActPackageMeta
impl RefUnwindSafe for ActPackageMeta
impl Send for ActPackageMeta
impl Sync for ActPackageMeta
impl Unpin for ActPackageMeta
impl UnsafeUnpin for ActPackageMeta
impl UnwindSafe for ActPackageMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more