pub struct BackendStatus {
pub environment: String,
pub version: String,
}Expand description
BackendStatus
JSON schema
{
"type": "object",
"required": [
"environment",
"version"
],
"properties": {
"environment": {
"description": "Runtime environment (e.g. development, production).",
"type": "string"
},
"version": {
"description": "Application version from Cargo.",
"type": "string"
}
}
}Fields§
§environment: StringRuntime environment (e.g. development, production).
version: StringApplication version from Cargo.
Trait Implementations§
Source§impl Clone for BackendStatus
impl Clone for BackendStatus
Source§fn clone(&self) -> BackendStatus
fn clone(&self) -> BackendStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BackendStatus
impl Debug for BackendStatus
Source§impl<'de> Deserialize<'de> for BackendStatus
impl<'de> Deserialize<'de> for BackendStatus
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 BackendStatus
impl RefUnwindSafe for BackendStatus
impl Send for BackendStatus
impl Sync for BackendStatus
impl Unpin for BackendStatus
impl UnsafeUnpin for BackendStatus
impl UnwindSafe for BackendStatus
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