pub struct HealthStatus {
pub compiler: ServiceStatus,
pub runner: ServiceStatus,
}Expand description
HealthStatus
JSON schema
{
"type": "object",
"required": [
"compiler",
"runner"
],
"properties": {
"compiler": {
"$ref": "#/components/schemas/ServiceStatus"
},
"runner": {
"$ref": "#/components/schemas/ServiceStatus"
}
}
}Fields§
§compiler: ServiceStatus§runner: ServiceStatusImplementations§
Source§impl HealthStatus
impl HealthStatus
pub fn builder() -> HealthStatus
Trait Implementations§
Source§impl Clone for HealthStatus
impl Clone for HealthStatus
Source§fn clone(&self) -> HealthStatus
fn clone(&self) -> HealthStatus
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 HealthStatus
impl Debug for HealthStatus
Source§impl<'de> Deserialize<'de> for HealthStatus
impl<'de> Deserialize<'de> for HealthStatus
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
Source§impl From<&HealthStatus> for HealthStatus
impl From<&HealthStatus> for HealthStatus
Source§fn from(value: &HealthStatus) -> Self
fn from(value: &HealthStatus) -> Self
Converts to this type from the input type.
Source§impl From<HealthStatus> for HealthStatus
impl From<HealthStatus> for HealthStatus
Source§fn from(value: HealthStatus) -> Self
fn from(value: HealthStatus) -> Self
Converts to this type from the input type.
Source§impl Serialize for HealthStatus
impl Serialize for HealthStatus
Source§impl TryFrom<HealthStatus> for HealthStatus
impl TryFrom<HealthStatus> for HealthStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: HealthStatus) -> Result<Self, ConversionError>
fn try_from(value: HealthStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for HealthStatus
impl RefUnwindSafe for HealthStatus
impl Send for HealthStatus
impl Sync for HealthStatus
impl Unpin for HealthStatus
impl UnwindSafe for HealthStatus
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