pub struct MethodAction {
pub name: String,
pub argument: Option<Vec<MethodActionArgument>>,
}Expand description
This data object type defines an operation and its arguments, invoked on a particular entity.
§How to access
ScheduledTask::reconfigure_scheduled_task(spec).action→MethodActionScheduledTaskManager::create_scheduled_task(spec).action→MethodActionScheduledTaskManager::create_object_scheduled_task(spec).action→MethodActionAlarm::reconfigure_alarm(spec).action?→AlarmTriggeringAction.action→MethodActionAlarmManager::create_alarm(spec).action?→AlarmTriggeringAction.action→MethodAction
Fields§
§name: StringName of the operation.
argument: Option<Vec<MethodActionArgument>>An array consisting of the arguments for the operation.
Trait Implementations§
Source§impl Debug for MethodAction
impl Debug for MethodAction
Source§impl Deserialize for MethodAction
impl Deserialize for MethodAction
Source§impl VimObjectTrait for MethodAction
impl VimObjectTrait for MethodAction
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl ActionTrait for MethodAction
impl DataObjectTrait for MethodAction
Auto Trait Implementations§
impl Freeze for MethodAction
impl !RefUnwindSafe for MethodAction
impl Send for MethodAction
impl Sync for MethodAction
impl Unpin for MethodAction
impl UnsafeUnpin for MethodAction
impl !UnwindSafe for MethodAction
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