pub struct ServiceConnectionState {
pub healthy: bool,
pub version: String,
}
Expand description
ServiceConnectionState : Serializer for Service connection state
Fields§
§healthy: bool
§version: String
Implementations§
Source§impl ServiceConnectionState
impl ServiceConnectionState
Sourcepub fn new(healthy: bool, version: String) -> ServiceConnectionState
pub fn new(healthy: bool, version: String) -> ServiceConnectionState
Serializer for Service connection state
Trait Implementations§
Source§impl Clone for ServiceConnectionState
impl Clone for ServiceConnectionState
Source§fn clone(&self) -> ServiceConnectionState
fn clone(&self) -> ServiceConnectionState
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 ServiceConnectionState
impl Debug for ServiceConnectionState
Source§impl Default for ServiceConnectionState
impl Default for ServiceConnectionState
Source§fn default() -> ServiceConnectionState
fn default() -> ServiceConnectionState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceConnectionState
impl<'de> Deserialize<'de> for ServiceConnectionState
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 PartialEq for ServiceConnectionState
impl PartialEq for ServiceConnectionState
Source§impl Serialize for ServiceConnectionState
impl Serialize for ServiceConnectionState
impl StructuralPartialEq for ServiceConnectionState
Auto Trait Implementations§
impl Freeze for ServiceConnectionState
impl RefUnwindSafe for ServiceConnectionState
impl Send for ServiceConnectionState
impl Sync for ServiceConnectionState
impl Unpin for ServiceConnectionState
impl UnwindSafe for ServiceConnectionState
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