pub struct RuleBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> RuleBuilder<'a>
impl<'a> RuleBuilder<'a>
pub fn new() -> Self
pub fn with_id(self, value: &'a str) -> Self
pub fn with_prefix(self, value: &'a str) -> Self
pub fn with_status(self, value: Status) -> Self
pub fn with_transition(self, value: Transition) -> Self
pub fn with_filter(self, value: Filter) -> Self
pub fn with_expiration(self, value: Expiration) -> Self
pub fn with_noncurrent_version_expiration(self, days: i32) -> Self
pub fn with_abort_multipart_upload(self, days: i32) -> Self
pub fn build(&self) -> Rule
Trait Implementations§
Source§impl<'a> Clone for RuleBuilder<'a>
impl<'a> Clone for RuleBuilder<'a>
Source§fn clone(&self) -> RuleBuilder<'a>
fn clone(&self) -> RuleBuilder<'a>
Returns a duplicate 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<'a> Debug for RuleBuilder<'a>
impl<'a> Debug for RuleBuilder<'a>
Source§impl<'a> Default for RuleBuilder<'a>
impl<'a> Default for RuleBuilder<'a>
Source§fn default() -> RuleBuilder<'a>
fn default() -> RuleBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for RuleBuilder<'a>
impl<'a> RefUnwindSafe for RuleBuilder<'a>
impl<'a> Send for RuleBuilder<'a>
impl<'a> Sync for RuleBuilder<'a>
impl<'a> Unpin for RuleBuilder<'a>
impl<'a> UnwindSafe for RuleBuilder<'a>
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