pub struct ImagePermissions {
pub allow_fleet: Option<bool>,
pub allow_image_builder: Option<bool>,
}
Expand description
Describes the permissions for an image.
Fields§
§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.
Trait Implementations§
Source§impl Clone for ImagePermissions
impl Clone for ImagePermissions
Source§fn clone(&self) -> ImagePermissions
fn clone(&self) -> ImagePermissions
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 ImagePermissions
impl Debug for ImagePermissions
Source§impl Default for ImagePermissions
impl Default for ImagePermissions
Source§fn default() -> ImagePermissions
fn default() -> ImagePermissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImagePermissions
impl<'de> Deserialize<'de> for ImagePermissions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ImagePermissions
impl PartialEq for ImagePermissions
Source§impl Serialize for ImagePermissions
impl Serialize for ImagePermissions
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