Struct aws_sdk_securityhub::operation::batch_get_automation_rules::BatchGetAutomationRulesOutput
source · #[non_exhaustive]pub struct BatchGetAutomationRulesOutput {
pub rules: Option<Vec<AutomationRulesConfig>>,
pub unprocessed_automation_rules: Option<Vec<UnprocessedAutomationRule>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rules: Option<Vec<AutomationRulesConfig>>
A list of rule details for the provided rule ARNs.
unprocessed_automation_rules: Option<Vec<UnprocessedAutomationRule>>
A list of objects containing RuleArn
, ErrorCode
, and ErrorMessage
. This parameter tells you which automation rules the request didn't retrieve and why.
Implementations§
source§impl BatchGetAutomationRulesOutput
impl BatchGetAutomationRulesOutput
sourcepub fn rules(&self) -> &[AutomationRulesConfig]
pub fn rules(&self) -> &[AutomationRulesConfig]
A list of rule details for the provided rule ARNs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rules.is_none()
.
sourcepub fn unprocessed_automation_rules(&self) -> &[UnprocessedAutomationRule]
pub fn unprocessed_automation_rules(&self) -> &[UnprocessedAutomationRule]
A list of objects containing RuleArn
, ErrorCode
, and ErrorMessage
. This parameter tells you which automation rules the request didn't retrieve and why.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .unprocessed_automation_rules.is_none()
.
source§impl BatchGetAutomationRulesOutput
impl BatchGetAutomationRulesOutput
sourcepub fn builder() -> BatchGetAutomationRulesOutputBuilder
pub fn builder() -> BatchGetAutomationRulesOutputBuilder
Creates a new builder-style object to manufacture BatchGetAutomationRulesOutput
.
Trait Implementations§
source§impl Clone for BatchGetAutomationRulesOutput
impl Clone for BatchGetAutomationRulesOutput
source§fn clone(&self) -> BatchGetAutomationRulesOutput
fn clone(&self) -> BatchGetAutomationRulesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BatchGetAutomationRulesOutput
impl PartialEq for BatchGetAutomationRulesOutput
source§fn eq(&self, other: &BatchGetAutomationRulesOutput) -> bool
fn eq(&self, other: &BatchGetAutomationRulesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for BatchGetAutomationRulesOutput
impl RequestId for BatchGetAutomationRulesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for BatchGetAutomationRulesOutput
Auto Trait Implementations§
impl Freeze for BatchGetAutomationRulesOutput
impl RefUnwindSafe for BatchGetAutomationRulesOutput
impl Send for BatchGetAutomationRulesOutput
impl Sync for BatchGetAutomationRulesOutput
impl Unpin for BatchGetAutomationRulesOutput
impl UnwindSafe for BatchGetAutomationRulesOutput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more