pub struct StatusResponse {
pub status: &'static str,
pub app: String,
pub pid: u32,
pub uptime_secs: u64,
pub uptime_human: String,
}Expand description
Status response showing bridge health.
Returned by GET /status to check if the bridge is running.
Fields§
§status: &'static strAlways “ok” when the bridge is healthy.
app: StringThe application name provided to start_bridge.
pid: u32Process ID of the Dioxus application.
uptime_secs: u64Uptime in seconds since the bridge started.
uptime_human: StringHuman-readable uptime (e.g., “5m 30s”, “2h 15m”).
Trait Implementations§
Source§impl Debug for StatusResponse
impl Debug for StatusResponse
Auto Trait Implementations§
impl Freeze for StatusResponse
impl RefUnwindSafe for StatusResponse
impl Send for StatusResponse
impl Sync for StatusResponse
impl Unpin for StatusResponse
impl UnwindSafe for StatusResponse
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