pub struct ActionTemplate {Show 14 fields
pub id: String,
pub scope: ActionScope,
pub title: String,
pub icon: Option<String>,
pub description: String,
pub info: Option<String>,
pub args: Vec<String>,
pub raw_args: String,
pub shell_script: bool,
pub params: Vec<ActionParam>,
pub options: Vec<ActionOption>,
pub immediate: bool,
pub ignore_errors: bool,
pub allow_non_zero_exit: bool,
}Fields§
§id: String§scope: ActionScope§title: String§icon: Option<String>§description: String§info: Option<String>§args: Vec<String>§raw_args: String§shell_script: bool§params: Vec<ActionParam>§options: Vec<ActionOption>§immediate: bool§ignore_errors: bool§allow_non_zero_exit: boolTrait Implementations§
Source§impl Clone for ActionTemplate
impl Clone for ActionTemplate
Source§fn clone(&self) -> ActionTemplate
fn clone(&self) -> ActionTemplate
Returns a duplicate 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 Debug for ActionTemplate
impl Debug for ActionTemplate
Source§impl<'de> Deserialize<'de> for ActionTemplate
impl<'de> Deserialize<'de> for ActionTemplate
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
Source§impl PartialEq for ActionTemplate
impl PartialEq for ActionTemplate
Source§impl Serialize for ActionTemplate
impl Serialize for ActionTemplate
impl Eq for ActionTemplate
impl StructuralPartialEq for ActionTemplate
Auto Trait Implementations§
impl Freeze for ActionTemplate
impl RefUnwindSafe for ActionTemplate
impl Send for ActionTemplate
impl Sync for ActionTemplate
impl Unpin for ActionTemplate
impl UnsafeUnpin for ActionTemplate
impl UnwindSafe for ActionTemplate
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