pub struct ImageState {
pub reason: Option<String>,
pub status: Option<String>,
}
Expand description
Image state shows the image status and the reason for that status.
Fields§
§reason: Option<String>
The reason for the image's status.
status: Option<String>
The status of the image.
Trait Implementations§
Source§impl Clone for ImageState
impl Clone for ImageState
Source§fn clone(&self) -> ImageState
fn clone(&self) -> ImageState
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 ImageState
impl Debug for ImageState
Source§impl Default for ImageState
impl Default for ImageState
Source§fn default() -> ImageState
fn default() -> ImageState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageState
impl<'de> Deserialize<'de> for ImageState
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 ImageState
impl PartialEq for ImageState
impl StructuralPartialEq for ImageState
Auto Trait Implementations§
impl Freeze for ImageState
impl RefUnwindSafe for ImageState
impl Send for ImageState
impl Sync for ImageState
impl Unpin for ImageState
impl UnwindSafe for ImageState
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