Struct aws_sdk_iotanalytics::types::LoggingOptions
source · #[non_exhaustive]pub struct LoggingOptions {
pub role_arn: Option<String>,
pub level: Option<LoggingLevel>,
pub enabled: bool,
}
Expand description
Information about logging options.
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 grants permission to IoT Analytics to perform logging.
level: Option<LoggingLevel>
The logging level. Currently, only ERROR is supported.
enabled: bool
If true, logging is enabled for IoT Analytics.
Implementations§
source§impl LoggingOptions
impl LoggingOptions
source§impl LoggingOptions
impl LoggingOptions
sourcepub fn builder() -> LoggingOptionsBuilder
pub fn builder() -> LoggingOptionsBuilder
Creates a new builder-style object to manufacture LoggingOptions
.
Trait Implementations§
source§impl Clone for LoggingOptions
impl Clone for LoggingOptions
source§fn clone(&self) -> LoggingOptions
fn clone(&self) -> LoggingOptions
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 LoggingOptions
impl Debug for LoggingOptions
source§impl PartialEq<LoggingOptions> for LoggingOptions
impl PartialEq<LoggingOptions> for LoggingOptions
source§fn eq(&self, other: &LoggingOptions) -> bool
fn eq(&self, other: &LoggingOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingOptions
Auto Trait Implementations§
impl RefUnwindSafe for LoggingOptions
impl Send for LoggingOptions
impl Sync for LoggingOptions
impl Unpin for LoggingOptions
impl UnwindSafe for LoggingOptions
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