pub struct ImageRequest {
pub image_ref: ImageRef,
pub expected_digest: Option<String>,
pub expected_architecture: Option<String>,
pub credential_alias_ref: Option<SecretRef>,
}Expand description
Describes the image request portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Fields§
§image_ref: ImageRefTyped image ref reference. Resolving or executing it is a separate policy-gated step.
expected_digest: Option<String>Optional expected digest value. When absent, callers should use the documented default or skip that optional behavior.
expected_architecture: Option<String>Optional expected architecture value. When absent, callers should use the documented default or skip that optional behavior.
credential_alias_ref: Option<SecretRef>Typed credential alias ref reference. Resolving or executing it is a separate policy-gated step.
Trait Implementations§
Source§impl Clone for ImageRequest
impl Clone for ImageRequest
Source§fn clone(&self) -> ImageRequest
fn clone(&self) -> ImageRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImageRequest
impl Debug for ImageRequest
Source§impl<'de> Deserialize<'de> for ImageRequest
impl<'de> Deserialize<'de> for ImageRequest
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 Eq for ImageRequest
Source§impl PartialEq for ImageRequest
impl PartialEq for ImageRequest
Source§fn eq(&self, other: &ImageRequest) -> bool
fn eq(&self, other: &ImageRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ImageRequest
impl Serialize for ImageRequest
impl StructuralPartialEq for ImageRequest
Auto Trait Implementations§
impl Freeze for ImageRequest
impl RefUnwindSafe for ImageRequest
impl Send for ImageRequest
impl Sync for ImageRequest
impl Unpin for ImageRequest
impl UnsafeUnpin for ImageRequest
impl UnwindSafe for ImageRequest
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