pub struct CheckServiceNode {
pub node: Node,
pub service: NodeService,
pub checks: HealthChecks,
}
Expand description
CheckServiceNode is used to provide the node, its service definition, as well as a HealthCheck that is associated.
Fields§
§node: Node
§service: NodeService
§checks: HealthChecks
Trait Implementations§
Source§impl Clone for CheckServiceNode
impl Clone for CheckServiceNode
Source§fn clone(&self) -> CheckServiceNode
fn clone(&self) -> CheckServiceNode
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 CheckServiceNode
impl Debug for CheckServiceNode
Source§impl Default for CheckServiceNode
impl Default for CheckServiceNode
Source§fn default() -> CheckServiceNode
fn default() -> CheckServiceNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckServiceNode
impl<'de> Deserialize<'de> for CheckServiceNode
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 CheckServiceNode
impl RefUnwindSafe for CheckServiceNode
impl Send for CheckServiceNode
impl Sync for CheckServiceNode
impl Unpin for CheckServiceNode
impl UnwindSafe for CheckServiceNode
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