Struct DiffTask

Source
pub struct DiffTask {
Show 47 fields pub recognition: Option<Recognition>, pub action: Option<Action>, pub next: Option<Vec<String>>, pub is_sub: Option<bool>, pub inverse: Option<bool>, pub enabled: Option<bool>, pub timeout: Option<u32>, pub timeout_next: Option<Vec<String>>, pub times_limit: Option<u32>, pub runout_next: Option<Vec<String>>, pub pre_delay: Option<u32>, pub post_delay: Option<u32>, pub pre_wait_freezes: Option<WaitFreezes>, pub post_wait_freezes: Option<WaitFreezes>, pub focus: Option<bool>, pub roi: Option<List<[u32; 4]>>, pub template: Option<List<String>>, pub threshold: Option<List<f32>>, pub method: Option<u32>, pub green_mask: Option<bool>, pub order_by: Option<Order>, pub index: Option<u32>, pub count: Option<u32>, pub detector: Option<Detector>, pub ratio: Option<f32>, pub lower: Option<List<Vec<u32>>>, pub upper: Option<List<Vec<u32>>>, pub connected: Option<bool>, pub expected: Option<List<Variant<String, u32>>>, pub input_text: Option<String>, pub only_rec: Option<bool>, pub model: Option<String>, pub cls_size: Option<u32>, pub labels: Option<Vec<String>>, pub custom_recognition: Option<String>, pub custom_recognition_param: Option<Value>, pub target: Option<Target>, pub target_offset: Option<[i32; 4]>, pub begin: Option<Target>, pub begin_offset: Option<[i32; 4]>, pub end: Option<Target>, pub end_offset: Option<[i32; 4]>, pub duration: Option<u32>, pub key: Option<List<u32>>, pub package: Option<String>, pub custom_action: Option<String>, pub custom_action_param: Option<Value>,
}

Fields§

§recognition: Option<Recognition>§action: Option<Action>§next: Option<Vec<String>>§is_sub: Option<bool>§inverse: Option<bool>§enabled: Option<bool>§timeout: Option<u32>§timeout_next: Option<Vec<String>>§times_limit: Option<u32>§runout_next: Option<Vec<String>>§pre_delay: Option<u32>§post_delay: Option<u32>§pre_wait_freezes: Option<WaitFreezes>§post_wait_freezes: Option<WaitFreezes>§focus: Option<bool>§roi: Option<List<[u32; 4]>>§template: Option<List<String>>§threshold: Option<List<f32>>§method: Option<u32>§green_mask: Option<bool>§order_by: Option<Order>§index: Option<u32>§count: Option<u32>§detector: Option<Detector>§ratio: Option<f32>§lower: Option<List<Vec<u32>>>§upper: Option<List<Vec<u32>>>§connected: Option<bool>§expected: Option<List<Variant<String, u32>>>§input_text: Option<String>§only_rec: Option<bool>§model: Option<String>§cls_size: Option<u32>§labels: Option<Vec<String>>§custom_recognition: Option<String>§custom_recognition_param: Option<Value>§target: Option<Target>§target_offset: Option<[i32; 4]>§begin: Option<Target>§begin_offset: Option<[i32; 4]>§end: Option<Target>§end_offset: Option<[i32; 4]>§duration: Option<u32>§key: Option<List<u32>>§package: Option<String>§custom_action: Option<String>§custom_action_param: Option<Value>

Trait Implementations§

Source§

impl Clone for DiffTask

Source§

fn clone(&self) -> DiffTask

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DiffTask

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DiffTask

Source§

fn default() -> DiffTask

Returns the “default value” for a type. Read more
Source§

impl Serialize for DiffTask

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.