#[non_exhaustive]pub struct InlineArchiveRuleBuilder { /* private fields */ }Expand description
A builder for InlineArchiveRule.
Implementations§
source§impl InlineArchiveRuleBuilder
impl InlineArchiveRuleBuilder
sourcepub fn set_rule_name(self, input: Option<String>) -> Self
pub fn set_rule_name(self, input: Option<String>) -> Self
The name of the rule.
sourcepub fn filter(self, k: impl Into<String>, v: Criterion) -> Self
pub fn filter(self, k: impl Into<String>, v: Criterion) -> Self
Adds a key-value pair to filter.
To override the contents of this collection use set_filter.
The condition and values for a criterion.
sourcepub fn set_filter(self, input: Option<HashMap<String, Criterion>>) -> Self
pub fn set_filter(self, input: Option<HashMap<String, Criterion>>) -> Self
The condition and values for a criterion.
sourcepub fn build(self) -> InlineArchiveRule
pub fn build(self) -> InlineArchiveRule
Consumes the builder and constructs a InlineArchiveRule.
Trait Implementations§
source§impl Clone for InlineArchiveRuleBuilder
impl Clone for InlineArchiveRuleBuilder
source§fn clone(&self) -> InlineArchiveRuleBuilder
fn clone(&self) -> InlineArchiveRuleBuilder
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 InlineArchiveRuleBuilder
impl Debug for InlineArchiveRuleBuilder
source§impl Default for InlineArchiveRuleBuilder
impl Default for InlineArchiveRuleBuilder
source§fn default() -> InlineArchiveRuleBuilder
fn default() -> InlineArchiveRuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<InlineArchiveRuleBuilder> for InlineArchiveRuleBuilder
impl PartialEq<InlineArchiveRuleBuilder> for InlineArchiveRuleBuilder
source§fn eq(&self, other: &InlineArchiveRuleBuilder) -> bool
fn eq(&self, other: &InlineArchiveRuleBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.