#[non_exhaustive]pub struct WinWinService {Show 20 fields
pub cmd_line: Option<String>,
pub hosting_process: Option<Box<ProcessEntity>>,
pub labels: Option<Vec<String>>,
pub load_order_group: Option<String>,
pub name: Option<String>,
pub service_category: Option<String>,
pub service_category_id: Option<i64>,
pub service_dependencies: Option<Vec<String>>,
pub service_dll_file: Option<Box<File>>,
pub service_error_control: Option<String>,
pub service_error_control_id: Option<i64>,
pub service_file: Option<Box<File>>,
pub service_start_name: Option<String>,
pub service_start_type: Option<String>,
pub service_start_type_id: Option<i64>,
pub service_type: Option<String>,
pub service_type_id: Option<i64>,
pub tags: Option<Vec<KeyValueObject>>,
pub uid: Option<String>,
pub version: Option<String>,
}Expand description
Windows Service
The Windows Service object describes a Windows service.
[] Category: | Name: win_service
Constraints:
- at_least_one:
[name,uid]
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.cmd_line: Option<String>Command Line
The full command line used to launch the service.
recommended
hosting_process: Option<Box<ProcessEntity>>Hosting Process
The process that is hosting this service.
optional
labels: Option<Vec<String>>Labels
The list of labels associated with the service.
optional
load_order_group: Option<String>Load Order Group
The name of the load ordering group of which this service is a member.
recommended
name: Option<String>Name
The unique name of the service.
required
service_category: Option<String>Service Category
The service category, normalized to the caption of the service_category_id value. In the case of ‘Other’, it is defined by the event source.
optional
service_category_id: Option<i64>Service Category ID
The normalized identifier of the service category.
recommended
service_dependencies: Option<Vec<String>>Service Dependencies
The names of other services upon which this service has a dependency.
recommended
service_dll_file: Option<Box<File>>Service DLL
For a shared user mode service (service_type_id is 4) this is the DLL that gets loaded by the generic service host process (e.g. svchost.exe) to implement the service.
optional
service_error_control: Option<String>Service Error Control
The service error control, normalized to the caption of the service_error_control_id value. In the case of ‘Other’, it is defined by the event source.
optional
service_error_control_id: Option<i64>Service Error Control ID
The normalized identifier of the service error control.
recommended
service_file: Option<Box<File>>Service File
For a user mode service (service_type_id 3 or 4) this is the executable program that the SCM launches as the service process.
For a kernel mode driver (service_type_id 1 or 2) this is the driver file loaded into the kernel at the request of the SCM.
recommended
service_start_name: Option<String>Service Start Name
For a user mode service, this attribute represents the name of the account under which the service is run. For a kernel mode driver, this attribute represents the object name used to load the driver.
recommended
service_start_type: Option<String>Service Start Type
The service start type, normalized to the caption of the service_start_type_id value. In the case of ‘Other’, it is defined by the event source.
optional
service_start_type_id: Option<i64>Service Start Type ID
The normalized identifier of the service start type.
recommended
service_type: Option<String>Service Type
The service type, normalized to the caption of the service_type_id value. In the case of ‘Other’, it is defined by the event source.
optional
service_type_id: Option<i64>Service Type ID
The normalized identifier of the service type.
recommended
Tags
The list of tags; {key:value} pairs associated to the service.
optional
uid: Option<String>Unique ID
The unique identifier of the service.
recommended
version: Option<String>Version
The version of the service.
recommended
Trait Implementations§
Source§impl Clone for WinWinService
impl Clone for WinWinService
Source§fn clone(&self) -> WinWinService
fn clone(&self) -> WinWinService
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more