pub struct LogService {Show 23 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
pub actions: Option<Actions>,
pub auto_dst_enabled: Option<bool>,
pub date_time: Option<String>,
pub date_time_local_offset: Option<String>,
pub description: Option<Description>,
pub entries: Option<IdRef>,
pub id: Id,
pub log_entry_type: Option<LogEntryTypes>,
pub log_purposes: Option<Vec<LogPurpose>>,
pub max_number_of_records: Option<i64>,
pub name: Name,
pub oem_log_purpose: Option<String>,
pub oem: Option<Oem>,
pub over_write_policy: Option<OverWritePolicy>,
pub overflow: Option<bool>,
pub persistency: Option<bool>,
pub service_enabled: Option<bool>,
pub status: Option<Status>,
pub syslog_filters: Option<Vec<SyslogFilter>>,
}
Expand description
The LogService schema contains properties for monitoring and configuring a log service. When the Id property contains DeviceLog
, the log contains device-resident log entries that follow the physical device when moved from system-to-system, and not a replication or subset of a system event log.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: Type
§actions: Option<Actions>
§auto_dst_enabled: Option<bool>
An indication of whether the log service is configured for automatic Daylight Saving Time (DST) adjustment.
date_time: Option<String>
The current date and time with UTC offset of the log service.
date_time_local_offset: Option<String>
The time offset from UTC that the DateTime property is in +HH:MM
format.
description: Option<Description>
§entries: Option<IdRef>
§id: Id
§log_entry_type: Option<LogEntryTypes>
§log_purposes: Option<Vec<LogPurpose>>
The purposes of the log.
max_number_of_records: Option<i64>
The maximum number of log entries that this service can have.
name: Name
§oem_log_purpose: Option<String>
The OEM-specified purpose of the log if LogPurposes contains OEM
.
oem: Option<Oem>
§over_write_policy: Option<OverWritePolicy>
§overflow: Option<bool>
Indicates whether the log service has overflowed.
persistency: Option<bool>
Indicates whether the log service is persistent across a cold reset.
service_enabled: Option<bool>
An indication of whether this service is enabled.
status: Option<Status>
§syslog_filters: Option<Vec<SyslogFilter>>
A list of syslog message filters to be logged locally.
Trait Implementations§
Source§impl Clone for LogService
impl Clone for LogService
Source§fn clone(&self) -> LogService
fn clone(&self) -> LogService
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more