Struct aws_sdk_appstream::types::ImagePermissions
source · #[non_exhaustive]pub struct ImagePermissions {
pub allow_fleet: Option<bool>,
pub allow_image_builder: Option<bool>,
}
Expand description
Describes the permissions for an image.
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.allow_fleet: Option<bool>
Indicates whether the image can be used for a fleet.
allow_image_builder: Option<bool>
Indicates whether the image can be used for an image builder.
Implementations§
source§impl ImagePermissions
impl ImagePermissions
sourcepub fn allow_fleet(&self) -> Option<bool>
pub fn allow_fleet(&self) -> Option<bool>
Indicates whether the image can be used for a fleet.
sourcepub fn allow_image_builder(&self) -> Option<bool>
pub fn allow_image_builder(&self) -> Option<bool>
Indicates whether the image can be used for an image builder.
source§impl ImagePermissions
impl ImagePermissions
sourcepub fn builder() -> ImagePermissionsBuilder
pub fn builder() -> ImagePermissionsBuilder
Creates a new builder-style object to manufacture ImagePermissions
.
Trait Implementations§
source§impl Clone for ImagePermissions
impl Clone for ImagePermissions
source§fn clone(&self) -> ImagePermissions
fn clone(&self) -> ImagePermissions
Returns a copy 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 ImagePermissions
impl Debug for ImagePermissions
source§impl PartialEq for ImagePermissions
impl PartialEq for ImagePermissions
source§fn eq(&self, other: &ImagePermissions) -> bool
fn eq(&self, other: &ImagePermissions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImagePermissions
Auto Trait Implementations§
impl Freeze for ImagePermissions
impl RefUnwindSafe for ImagePermissions
impl Send for ImagePermissions
impl Sync for ImagePermissions
impl Unpin for ImagePermissions
impl UnwindSafe for ImagePermissions
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> 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>
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 moreCreates a shared type from an unshared type.