pub struct BundleBuildStatusResponse {
pub request_id: String,
pub start_slot: u64,
pub end_slot: u64,
pub bundle_size: Option<u64>,
pub status: BundleBuildStatus,
pub created_at_unix_ms: u64,
pub kind: BundleKind,
pub eta_secs: Option<u64>,
}Expand description
Response of the server’s bundle-build endpoints.
Fields§
§request_id: StringThe job ID; poll GET /build-bundle/{request_id} with it.
start_slot: u64§end_slot: u64§bundle_size: Option<u64>Slots per bundle, as requested.
status: BundleBuildStatus§created_at_unix_ms: u64When the job was created (unix ms) — lets clients show a live ETA countdown by computing elapsed since this.
kind: BundleKindAbsent on records predating the field, which are all blocks.
eta_secs: Option<u64>Server-side estimate of the seconds left on an in-progress build.
None on a build that isn’t running or if inputs can’t be resolved.
Trait Implementations§
Source§impl Clone for BundleBuildStatusResponse
impl Clone for BundleBuildStatusResponse
Source§impl Debug for BundleBuildStatusResponse
impl Debug for BundleBuildStatusResponse
Source§impl<'de> Deserialize<'de> for BundleBuildStatusResponse
impl<'de> Deserialize<'de> for BundleBuildStatusResponse
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 Forget for BundleBuildStatusResponse
impl Freeze for BundleBuildStatusResponse
impl Move for BundleBuildStatusResponse
impl RefUnwindSafe for BundleBuildStatusResponse
impl Send for BundleBuildStatusResponsewhere
RawVecInner: Send,
impl Sync for BundleBuildStatusResponsewhere
RawVecInner: Sync,
impl Unpin for BundleBuildStatusResponse
impl UnsafeUnpin for BundleBuildStatusResponse
impl UnwindSafe for BundleBuildStatusResponsewhere
RawVecInner: UnwindSafe,
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