#[non_exhaustive]pub struct BucketList {
pub buckets: Vec<Bucket>,
/* private fields */
}Expand description
Describes list of buckets and their objects to be transformed.
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.buckets: Vec<Bucket>Required. List of buckets and their objects to be transformed. Currently, only one bucket configuration is supported. If multiple buckets are specified, an error will be returned.
Implementations§
Source§impl BucketList
impl BucketList
pub fn new() -> Self
Sourcepub fn set_buckets<T, V>(self, v: T) -> Self
pub fn set_buckets<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for BucketList
impl Clone for BucketList
Source§fn clone(&self) -> BucketList
fn clone(&self) -> BucketList
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 Debug for BucketList
impl Debug for BucketList
Source§impl Default for BucketList
impl Default for BucketList
Source§fn default() -> BucketList
fn default() -> BucketList
Returns the “default value” for a type. Read more
Source§impl PartialEq for BucketList
impl PartialEq for BucketList
impl StructuralPartialEq for BucketList
Auto Trait Implementations§
impl Freeze for BucketList
impl RefUnwindSafe for BucketList
impl Send for BucketList
impl Sync for BucketList
impl Unpin for BucketList
impl UnwindSafe for BucketList
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