#[non_exhaustive]pub struct SetV2LoggingOptionsInput {
pub role_arn: Option<String>,
pub default_log_level: Option<LogLevel>,
pub disable_all_logs: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_arn: Option<String>
The ARN of the role that allows IoT to write to Cloudwatch logs.
default_log_level: Option<LogLevel>
The default logging level.
disable_all_logs: Option<bool>
If true all logs are disabled. The default is false.
Implementations§
source§impl SetV2LoggingOptionsInput
impl SetV2LoggingOptionsInput
sourcepub fn builder() -> SetV2LoggingOptionsInputBuilder
pub fn builder() -> SetV2LoggingOptionsInputBuilder
Creates a new builder-style object to manufacture SetV2LoggingOptionsInput
.
Trait Implementations§
source§impl Clone for SetV2LoggingOptionsInput
impl Clone for SetV2LoggingOptionsInput
source§fn clone(&self) -> SetV2LoggingOptionsInput
fn clone(&self) -> SetV2LoggingOptionsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SetV2LoggingOptionsInput
impl Debug for SetV2LoggingOptionsInput
source§impl PartialEq for SetV2LoggingOptionsInput
impl PartialEq for SetV2LoggingOptionsInput
source§fn eq(&self, other: &SetV2LoggingOptionsInput) -> bool
fn eq(&self, other: &SetV2LoggingOptionsInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetV2LoggingOptionsInput
Auto Trait Implementations§
impl RefUnwindSafe for SetV2LoggingOptionsInput
impl Send for SetV2LoggingOptionsInput
impl Sync for SetV2LoggingOptionsInput
impl Unpin for SetV2LoggingOptionsInput
impl UnwindSafe for SetV2LoggingOptionsInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.