#[non_exhaustive]pub struct StartupItem {Show 13 fields
pub driver: Option<Box<KernelDriver>>,
pub job: Option<Box<Job>>,
pub name: Option<String>,
pub process: Option<Box<Process>>,
pub run_mode_ids: Option<Vec<i64>>,
pub run_modes: Option<Vec<String>>,
pub run_state: Option<String>,
pub run_state_id: Option<i64>,
pub start_type: Option<String>,
pub start_type_id: Option<i64>,
pub type: Option<String>,
pub type_id: Option<i64>,
pub win_service: Option<Box<WinWinService>>,
}Expand description
Startup Item
The startup item object describes an application component that has associated startup criteria and configurations.
[] Category: | Name: startup_item
Constraints:
- just_one:
[driver,job,process,win_service]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.driver: Option<Box<KernelDriver>>Kernel Driver
The startup item kernel driver resource.
optional
job: Option<Box<Job>>Job
The startup item job resource.
optional
name: Option<String>Name
The unique name of the startup item.
required
process: Option<Box<Process>>Process
The startup item process resource.
optional
run_mode_ids: Option<Vec<i64>>Run Mode IDs
The list of normalized identifiers that describe the startup items’ properties when it is running. Use this field to capture extended information about the process, which may depend on the type of startup item. E.g., A Windows service that interacts with the desktop.
optional
run_modes: Option<Vec<String>>Run Modes
The list of run_modes, normalized to the captions of the run_mode_id values. In the case of ‘Other’, they are defined by the event source.
optional
run_state: Option<String>Run State
The run state of the startup item.
optional
run_state_id: Option<i64>Run State ID
The run state ID of the startup item.
recommended
start_type: Option<String>Start Type
The start type of the startup item.
optional
start_type_id: Option<i64>Start Type ID
The start type ID of the startup item.
required
type: Option<String>Type
The startup item type.
optional
type_id: Option<i64>Type ID
The startup item type identifier.
recommended
win_service: Option<Box<WinWinService>>Windows Service
The startup item Windows service resource.
optional
Trait Implementations§
Source§impl Clone for StartupItem
impl Clone for StartupItem
Source§fn clone(&self) -> StartupItem
fn clone(&self) -> StartupItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more