Struct windows_task_scheduler::Settings[][src]

pub struct Settings {
Show 14 fields pub multiple_instances_policy: MultipleInstancesPolicy, pub disallow_start_if_on_batteries: bool, pub stop_if_going_on_batteries: bool, pub allow_hard_terminate: bool, pub start_when_available: bool, pub run_only_if_network_available: bool, pub idle_settings: IdleSettings, pub allow_start_on_demand: bool, pub enabled: bool, pub hidden: bool, pub run_only_if_idle: bool, pub wake_to_run: bool, pub execution_time_limit: String, pub priority: u8,
}

Fields

multiple_instances_policy: MultipleInstancesPolicy

default IgnoreNew

disallow_start_if_on_batteries: bool

default true

stop_if_going_on_batteries: bool

default true

allow_hard_terminate: bool

default true

start_when_available: bool

default false

run_only_if_network_available: bool

default false

idle_settings: IdleSettingsallow_start_on_demand: bool

default true

enabled: bool

default true

hidden: bool

default false

run_only_if_idle: bool

default false

wake_to_run: bool

default false

execution_time_limit: String

default PT72H

priority: u8

default 7

Trait Implementations

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.