pub struct BuilderStage {
pub image: String,
pub workdir: String,
pub package: String,
pub bin: String,
}Expand description
The builder stage of the generated Dockerfile.
Fields§
§image: Stringrust:<ver>-bookworm or rust:bookworm (crate::target::builder_image).
workdir: StringThe workspace root relative to the staged root ("" for Cloud Run): WORKDIR /app/<workdir>.
package: Stringcargo build -p <package>.
bin: Stringcargo build --bin <bin>; the runtime stage’s /app/<bin>.
Trait Implementations§
Source§impl Clone for BuilderStage
impl Clone for BuilderStage
Source§impl Debug for BuilderStage
impl Debug for BuilderStage
Source§impl Default for BuilderStage
impl Default for BuilderStage
impl Eq for BuilderStage
Source§impl PartialEq for BuilderStage
impl PartialEq for BuilderStage
impl StructuralPartialEq for BuilderStage
Auto Trait Implementations§
impl Forget for BuilderStage
impl Freeze for BuilderStage
impl Move for BuilderStage
impl RefUnwindSafe for BuilderStage
impl Send for BuilderStage
impl Sync for BuilderStage
impl Unpin for BuilderStage
impl UnsafeUnpin for BuilderStage
impl UnwindSafe for BuilderStage
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.