pub struct HealthResponse {
pub operation_result_contract: Option<bool>,
pub status: String,
}Expand description
HealthResponse
JSON schema
{
"type": "object",
"required": [
"status"
],
"properties": {
"operationResultContract": {
"description": "True when operation result contracts are persisted before commands\nbecome executable.",
"type": "boolean"
},
"status": {
"type": "string"
}
}
}Fields§
§operation_result_contract: Option<bool>True when operation result contracts are persisted before commands become executable.
status: StringImplementations§
Source§impl HealthResponse
impl HealthResponse
pub fn builder() -> HealthResponse
Trait Implementations§
Source§impl Clone for HealthResponse
impl Clone for HealthResponse
Source§impl Debug for HealthResponse
impl Debug for HealthResponse
Source§impl<'de> Deserialize<'de> for HealthResponse
impl<'de> Deserialize<'de> for HealthResponse
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<&HealthResponse> for HealthResponse
impl From<&HealthResponse> for HealthResponse
Source§fn from(value: &HealthResponse) -> Self
fn from(value: &HealthResponse) -> Self
Converts to this type from the input type.
Source§impl From<HealthResponse> for HealthResponse
impl From<HealthResponse> for HealthResponse
Source§fn from(value: HealthResponse) -> Self
fn from(value: HealthResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for HealthResponse
impl Serialize for HealthResponse
Source§impl TryFrom<HealthResponse> for HealthResponse
impl TryFrom<HealthResponse> for HealthResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: HealthResponse) -> Result<Self, ConversionError>
fn try_from(value: HealthResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for HealthResponse
impl RefUnwindSafe for HealthResponse
impl Send for HealthResponse
impl Sync for HealthResponse
impl Unpin for HealthResponse
impl UnsafeUnpin for HealthResponse
impl UnwindSafe for HealthResponse
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