pub struct Prepared {
pub name: String,
pub bucket: String,
pub key: String,
pub artifact: Vec<u8>,
pub create: CreateImageRequest,
pub force: bool,
pub wait_timeout: Option<Duration>,
pub warnings: Vec<String>,
}Expand description
Everything prepare decided locally: the name, the key, the artifact, and the create
request, with the create’s preflight already passed.
Fields§
§name: String<prefix>-<hash12>.
bucket: String§key: String§artifact: Vec<u8>The zip to upload when a build is needed.
create: CreateImageRequestThe create request, named and pointed at the artifact.
force: bool§wait_timeout: Option<Duration>§warnings: Vec<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Prepared
impl RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Prepared
impl Unpin for Prepared
impl UnsafeUnpin for Prepared
impl UnwindSafe for Prepared
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