Struct aws_sdk_accessanalyzer::types::InlineArchiveRule
source · #[non_exhaustive]pub struct InlineArchiveRule {
pub rule_name: Option<String>,
pub filter: Option<HashMap<String, Criterion>>,
}Expand description
An criterion statement in an archive rule. Each archive rule may have multiple criteria.
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.rule_name: Option<String>The name of the rule.
filter: Option<HashMap<String, Criterion>>The condition and values for a criterion.
Implementations§
source§impl InlineArchiveRule
impl InlineArchiveRule
sourcepub fn builder() -> InlineArchiveRuleBuilder
pub fn builder() -> InlineArchiveRuleBuilder
Creates a new builder-style object to manufacture InlineArchiveRule.
Trait Implementations§
source§impl Clone for InlineArchiveRule
impl Clone for InlineArchiveRule
source§fn clone(&self) -> InlineArchiveRule
fn clone(&self) -> InlineArchiveRule
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 InlineArchiveRule
impl Debug for InlineArchiveRule
source§impl PartialEq<InlineArchiveRule> for InlineArchiveRule
impl PartialEq<InlineArchiveRule> for InlineArchiveRule
source§fn eq(&self, other: &InlineArchiveRule) -> bool
fn eq(&self, other: &InlineArchiveRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InlineArchiveRule
Auto Trait Implementations§
impl RefUnwindSafe for InlineArchiveRule
impl Send for InlineArchiveRule
impl Sync for InlineArchiveRule
impl Unpin for InlineArchiveRule
impl UnwindSafe for InlineArchiveRule
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