pub struct ImagePut {
pub auto_update: Option<bool>,
pub expires_at: Option<DateTime<FixedOffset>>,
pub profiles: Option<Vec<String>>,
pub properties: Option<HashMap<String, String>>,
pub public: Option<bool>,
}Expand description
ImagePut : ImagePut represents the modifiable fields of an image
Fields§
§auto_update: Option<bool>Whether the image should auto-update when a new build is available
expires_at: Option<DateTime<FixedOffset>>When the image becomes obsolete
profiles: Option<Vec<String>>List of profiles to use when creating from this image (if none provided by user)
properties: Option<HashMap<String, String>>Descriptive properties
public: Option<bool>Whether the image is available to unauthenticated users
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImagePut
impl<'de> Deserialize<'de> for ImagePut
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
impl StructuralPartialEq for ImagePut
Auto Trait Implementations§
impl Freeze for ImagePut
impl RefUnwindSafe for ImagePut
impl Send for ImagePut
impl Sync for ImagePut
impl Unpin for ImagePut
impl UnsafeUnpin for ImagePut
impl UnwindSafe for ImagePut
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