#[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 ==
.impl StructuralPartialEq for BackendStoragePermissions
Auto Trait Implementations§
impl Freeze for BackendStoragePermissions
impl RefUnwindSafe for BackendStoragePermissions
impl Send for BackendStoragePermissions
impl Sync for BackendStoragePermissions
impl Unpin for BackendStoragePermissions
impl UnwindSafe for BackendStoragePermissions
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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