pub struct ImageEntry {
pub image: Value,
pub configuration_name: String,
pub image_id: String,
pub is_linked: bool,
}Expand description
Wrapper so the image tuple serializes to named fields.
Fields§
§image: ValueRaw IMS image object (CSM / OpenCHAMI shape, passed through).
configuration_name: StringName of the CFS configuration linked to this image at build time.
image_id: StringIMS image ID (UUID). Convenience copy of image.id for clients
that don’t want to parse the inner JSON.
is_linked: boolWhether the image is still linked to its configuration (vs. configuration was deleted but image survives).
Trait Implementations§
Source§impl ComposeSchema for ImageEntry
impl ComposeSchema for ImageEntry
Source§impl Serialize for ImageEntry
impl Serialize for ImageEntry
Auto Trait Implementations§
impl Freeze for ImageEntry
impl RefUnwindSafe for ImageEntry
impl Send for ImageEntry
impl Sync for ImageEntry
impl Unpin for ImageEntry
impl UnwindSafe for ImageEntry
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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.