#[non_exhaustive]pub struct BackendStoragePermissions {
pub authenticated: Option<Vec<AuthenticatedElement>>,
pub un_authenticated: Option<Vec<UnAuthenticatedElement>>,
}
Expand description
Describes the read, write, and delete permissions users have against your storage S3 bucket.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.authenticated: Option<Vec<AuthenticatedElement>>
Lists all authenticated user read, write, and delete permissions for your S3 bucket.
un_authenticated: Option<Vec<UnAuthenticatedElement>>
Lists all unauthenticated user read, write, and delete permissions for your S3 bucket.
Implementations§
source§impl BackendStoragePermissions
impl BackendStoragePermissions
sourcepub fn authenticated(&self) -> &[AuthenticatedElement]
pub fn authenticated(&self) -> &[AuthenticatedElement]
Lists all authenticated user read, write, and delete permissions for your S3 bucket.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .authenticated.is_none()
.
sourcepub fn un_authenticated(&self) -> &[UnAuthenticatedElement]
pub fn un_authenticated(&self) -> &[UnAuthenticatedElement]
Lists all unauthenticated user read, write, and delete permissions for your S3 bucket.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .un_authenticated.is_none()
.
source§impl BackendStoragePermissions
impl BackendStoragePermissions
sourcepub fn builder() -> BackendStoragePermissionsBuilder
pub fn builder() -> BackendStoragePermissionsBuilder
Creates a new builder-style object to manufacture BackendStoragePermissions
.
Trait Implementations§
source§impl Clone for BackendStoragePermissions
impl Clone for BackendStoragePermissions
source§fn clone(&self) -> BackendStoragePermissions
fn clone(&self) -> BackendStoragePermissions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackendStoragePermissions
impl Debug for BackendStoragePermissions
source§impl PartialEq for BackendStoragePermissions
impl PartialEq for BackendStoragePermissions
source§fn eq(&self, other: &BackendStoragePermissions) -> bool
fn eq(&self, other: &BackendStoragePermissions) -> bool
self
and other
values to be equal, and is used
by ==
.