Struct plausible_rs::HealthResponse
source · pub struct HealthResponse {
pub clickhouse: String,
pub postgres: String,
}
Expand description
Response returned from ‘GET /api/health’ API.
If the individual status is healthy, expect the string value to equal "ok"
.
Fields§
§clickhouse: String
§postgres: String
Trait Implementations§
source§impl Clone for HealthResponse
impl Clone for HealthResponse
source§fn clone(&self) -> HealthResponse
fn clone(&self) -> HealthResponse
Returns a copy 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
Auto Trait Implementations§
impl RefUnwindSafe for HealthResponse
impl Send for HealthResponse
impl Sync for HealthResponse
impl Unpin 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