pub struct CreateTaskAction {
pub task_type_id: String,
pub cancelable: bool,
}Expand description
This data object type specifies the type of task to be created when this action is triggered.
§How to access
ScheduledTask::reconfigure_scheduled_task(spec).action→CreateTaskActionScheduledTaskManager::create_scheduled_task(spec).action→CreateTaskActionScheduledTaskManager::create_object_scheduled_task(spec).action→CreateTaskActionAlarm::reconfigure_alarm(spec).action?→AlarmTriggeringAction.action→CreateTaskActionAlarmManager::create_alarm(spec).action?→AlarmTriggeringAction.action→CreateTaskAction
Fields§
§task_type_id: StringExtension registered task type identifier for type of task being created.
cancelable: boolWhether the task should be cancelable.
Trait Implementations§
Source§impl Debug for CreateTaskAction
impl Debug for CreateTaskAction
Source§impl Deserialize for CreateTaskAction
impl Deserialize for CreateTaskAction
Source§impl VimObjectTrait for CreateTaskAction
impl VimObjectTrait for CreateTaskAction
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl ActionTrait for CreateTaskAction
impl DataObjectTrait for CreateTaskAction
Auto Trait Implementations§
impl Freeze for CreateTaskAction
impl RefUnwindSafe for CreateTaskAction
impl Send for CreateTaskAction
impl Sync for CreateTaskAction
impl Unpin for CreateTaskAction
impl UnsafeUnpin for CreateTaskAction
impl UnwindSafe for CreateTaskAction
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