pub struct BucketPermissions {
pub pub_read: bool,
pub pub_write: bool,
pub pub_append: bool,
pub priv_write: bool,
pub priv_append: bool,
pub delete_bucket: bool,
}Expand description
Permissions for a bucket
§Fields
pub_read- Whether the bucket can be read by everyonepub_write- Whether the bucket can be written by everyonepub_append- Whether the bucket can be appended by everyonepriv_write- Whether the bucket can be written by the ownerpriv_append- Whether the bucket can be appended by the ownerdelete_bucket- Whether the bucket can be deleted by the owner
Fields§
§pub_read: bool§pub_write: bool§pub_append: bool§priv_write: bool§priv_append: bool§delete_bucket: boolTrait Implementations§
Source§impl Debug for BucketPermissions
impl Debug for BucketPermissions
Source§impl Default for BucketPermissions
impl Default for BucketPermissions
Source§impl PartialEq for BucketPermissions
impl PartialEq for BucketPermissions
impl Eq for BucketPermissions
impl StructuralPartialEq for BucketPermissions
Auto Trait Implementations§
impl Freeze for BucketPermissions
impl RefUnwindSafe for BucketPermissions
impl Send for BucketPermissions
impl Sync for BucketPermissions
impl Unpin for BucketPermissions
impl UnwindSafe for BucketPermissions
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
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>
Converts
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>
Converts
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