pub struct LogServiceUpdate {
pub base: Option<ResourceUpdate>,
pub service_enabled: Option<Boolean>,
pub date_time: Option<DateTimeOffset>,
pub date_time_local_offset: Option<String>,
pub syslog_filters: Option<Vec<SyslogFilterUpdate>>,
pub auto_dst_enabled: Option<Boolean>,
pub auto_clear_resolved_entries: Option<AutoClearResolvedEntries>,
}Expand description
Update struct corresponding to LogService
Fields§
§base: Option<ResourceUpdate>§service_enabled: Option<Boolean>§date_time: Option<DateTimeOffset>§date_time_local_offset: Option<String>§syslog_filters: Option<Vec<SyslogFilterUpdate>>§auto_dst_enabled: Option<Boolean>§auto_clear_resolved_entries: Option<AutoClearResolvedEntries>Implementations§
Source§impl LogServiceUpdate
impl LogServiceUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_service_enabled(self, v: Boolean) -> Self
pub fn with_date_time(self, v: DateTimeOffset) -> Self
pub fn with_date_time_local_offset(self, v: String) -> Self
pub fn with_syslog_filters(self, v: Vec<SyslogFilterUpdate>) -> Self
pub fn with_auto_dst_enabled(self, v: Boolean) -> Self
pub fn with_auto_clear_resolved_entries( self, v: AutoClearResolvedEntries, ) -> Self
Trait Implementations§
Source§impl Debug for LogServiceUpdate
impl Debug for LogServiceUpdate
Source§impl Default for LogServiceUpdate
impl Default for LogServiceUpdate
Source§fn default() -> LogServiceUpdate
fn default() -> LogServiceUpdate
Returns the “default value” for a type. Read more
Source§impl Serialize for LogServiceUpdate
impl Serialize for LogServiceUpdate
Auto Trait Implementations§
impl Freeze for LogServiceUpdate
impl RefUnwindSafe for LogServiceUpdate
impl Send for LogServiceUpdate
impl Sync for LogServiceUpdate
impl Unpin for LogServiceUpdate
impl UnsafeUnpin for LogServiceUpdate
impl UnwindSafe for LogServiceUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more