pub struct BuildHandle {
pub build_id: String,
pub message: String,
}Expand description
Handle returned by the daemon start_build endpoint. Mirrors the wire
shape of zlayer_api::handlers::build::TriggerBuildResponse (which is
Serialize-only, so we carry a Deserialize mirror here).
The build_id can be fed to GET /api/v1/build/{id},
GET /api/v1/build/{id}/stream, and GET /api/v1/build/{id}/logs.
Fields§
§build_id: StringUnique build ID for tracking.
message: StringHuman-readable message from the daemon.
Trait Implementations§
Source§impl Clone for BuildHandle
impl Clone for BuildHandle
Source§fn clone(&self) -> BuildHandle
fn clone(&self) -> BuildHandle
Returns a duplicate of the value. Read more
1.0.0 · 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 BuildHandle
impl Debug for BuildHandle
Source§impl<'de> Deserialize<'de> for BuildHandle
impl<'de> Deserialize<'de> for BuildHandle
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
Auto Trait Implementations§
impl Freeze for BuildHandle
impl RefUnwindSafe for BuildHandle
impl Send for BuildHandle
impl Sync for BuildHandle
impl Unpin for BuildHandle
impl UnsafeUnpin for BuildHandle
impl UnwindSafe for BuildHandle
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