pub struct HealthResponse {
pub status: String,
}Expand description
HealthResponse
JSON schema
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string"
}
}
}Fields§
§status: StringImplementations§
Source§impl HealthResponse
impl HealthResponse
pub fn builder() -> HealthResponse
Trait Implementations§
Source§impl Clone for HealthResponse
impl Clone for HealthResponse
Source§fn clone(&self) -> HealthResponse
fn clone(&self) -> HealthResponse
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 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