pub struct ReadinessStatus {
pub components: HashMap<String, HealthState>,
pub ready: bool,
}Expand description
readiness response returned by /health/ready
JSON schema
{
"description": "readiness response returned by /health/ready",
"type": "object",
"required": [
"components",
"ready"
],
"properties": {
"components": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/HealthState"
}
},
"ready": {
"type": "boolean"
}
}
}Fields§
§components: HashMap<String, HealthState>§ready: boolTrait Implementations§
Source§impl Clone for ReadinessStatus
impl Clone for ReadinessStatus
Source§fn clone(&self) -> ReadinessStatus
fn clone(&self) -> ReadinessStatus
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 ReadinessStatus
impl Debug for ReadinessStatus
Source§impl<'de> Deserialize<'de> for ReadinessStatus
impl<'de> Deserialize<'de> for ReadinessStatus
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 ReadinessStatus
impl RefUnwindSafe for ReadinessStatus
impl Send for ReadinessStatus
impl Sync for ReadinessStatus
impl Unpin for ReadinessStatus
impl UnsafeUnpin for ReadinessStatus
impl UnwindSafe for ReadinessStatus
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