#[non_exhaustive]pub struct DetectorFeatureConfigurationResult {
pub name: Option<DetectorFeatureResult>,
pub status: Option<FeatureStatus>,
pub updated_at: Option<DateTime>,
pub additional_configuration: Option<Vec<DetectorAdditionalConfigurationResult>>,
}Expand description
Contains information about a GuardDuty feature.
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.name: Option<DetectorFeatureResult>Indicates the name of the feature that can be enabled for the detector.
status: Option<FeatureStatus>Indicates the status of the feature that is enabled for the detector.
updated_at: Option<DateTime>The timestamp at which the feature object was updated.
additional_configuration: Option<Vec<DetectorAdditionalConfigurationResult>>Additional configuration for a resource.
Implementations§
source§impl DetectorFeatureConfigurationResult
impl DetectorFeatureConfigurationResult
sourcepub fn name(&self) -> Option<&DetectorFeatureResult>
pub fn name(&self) -> Option<&DetectorFeatureResult>
Indicates the name of the feature that can be enabled for the detector.
sourcepub fn status(&self) -> Option<&FeatureStatus>
pub fn status(&self) -> Option<&FeatureStatus>
Indicates the status of the feature that is enabled for the detector.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp at which the feature object was updated.
sourcepub fn additional_configuration(
&self
) -> &[DetectorAdditionalConfigurationResult]
pub fn additional_configuration( &self ) -> &[DetectorAdditionalConfigurationResult]
Additional configuration for a resource.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_configuration.is_none().
source§impl DetectorFeatureConfigurationResult
impl DetectorFeatureConfigurationResult
sourcepub fn builder() -> DetectorFeatureConfigurationResultBuilder
pub fn builder() -> DetectorFeatureConfigurationResultBuilder
Creates a new builder-style object to manufacture DetectorFeatureConfigurationResult.
Trait Implementations§
source§impl Clone for DetectorFeatureConfigurationResult
impl Clone for DetectorFeatureConfigurationResult
source§fn clone(&self) -> DetectorFeatureConfigurationResult
fn clone(&self) -> DetectorFeatureConfigurationResult
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 PartialEq for DetectorFeatureConfigurationResult
impl PartialEq for DetectorFeatureConfigurationResult
source§fn eq(&self, other: &DetectorFeatureConfigurationResult) -> bool
fn eq(&self, other: &DetectorFeatureConfigurationResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DetectorFeatureConfigurationResult
Auto Trait Implementations§
impl RefUnwindSafe for DetectorFeatureConfigurationResult
impl Send for DetectorFeatureConfigurationResult
impl Sync for DetectorFeatureConfigurationResult
impl Unpin for DetectorFeatureConfigurationResult
impl UnwindSafe for DetectorFeatureConfigurationResult
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.