pub struct ReadyResponse {
pub status: &'static str,
}Expand description
Ready check response payload.
This struct represents the stable schema for the ready endpoint response. Fields should not be modified without careful consideration of external dependencies that may rely on this contract.
§Readiness vocabulary (WP-2)
When not ready, the status should be one of the documented reasons from
ReadyStatus:
ReadyStatus::REASON_CONFIG_INVALIDReadyStatus::REASON_BOOTSTRAP_INCOMPLETE
Fields§
§status: &'static strDaemon readiness status.
When the daemon is fully ready, this is “ready”. When not ready, this contains a reason string.
Implementations§
Trait Implementations§
Source§impl Clone for ReadyResponse
impl Clone for ReadyResponse
Source§fn clone(&self) -> ReadyResponse
fn clone(&self) -> ReadyResponse
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 ReadyResponse
impl Debug for ReadyResponse
Auto Trait Implementations§
impl Freeze for ReadyResponse
impl RefUnwindSafe for ReadyResponse
impl Send for ReadyResponse
impl Sync for ReadyResponse
impl Unpin for ReadyResponse
impl UnsafeUnpin for ReadyResponse
impl UnwindSafe for ReadyResponse
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