pub struct ImageView {
pub repository: Option<String>,
pub tag: Option<String>,
}Fields§
§repository: Option<String>Repository is the image path without a tag (ghcr.io/acme/api). Required for source image, which runs it as-is. A git app’s built image is NOT this: the build pushes to a path derived from the org and slug, and the deployment records that full ref.
tag: Option<String>Tag is the tag to run: what the create declared, then RE-STAMPED on every transition to live with the tag that actually went live. So after a deploy it names what is running, not what was asked for.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImageView
impl<'de> Deserialize<'de> for ImageView
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 ImageView
Auto Trait Implementations§
impl Freeze for ImageView
impl RefUnwindSafe for ImageView
impl Send for ImageView
impl Sync for ImageView
impl Unpin for ImageView
impl UnsafeUnpin for ImageView
impl UnwindSafe for ImageView
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