pub struct Image {
pub image_id: String,
pub name: String,
pub description: String,
pub state: String,
pub architecture: String,
pub public: bool,
pub source_instance_id: Option<String>,
pub in_recycle_bin: bool,
pub deprecation_time: Option<String>,
pub deregistration_protection: bool,
}Expand description
An AMI (machine image).
Fields§
§image_id: String§name: String§description: String§state: Stringpending | available | disabled | deregistered.
architecture: String§public: bool§source_instance_id: Option<String>§in_recycle_bin: bool§deprecation_time: Option<String>§deregistration_protection: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
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
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnsafeUnpin for Image
impl UnwindSafe for Image
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