Struct McpRefreshHealth
pub struct McpRefreshHealth {
pub last_attempt_at: Option<SystemTime>,
pub last_success_at: Option<SystemTime>,
pub last_error: Option<String>,
pub consecutive_failures: u64,
}Fields§
§last_attempt_at: Option<SystemTime>§last_success_at: Option<SystemTime>§last_error: Option<String>§consecutive_failures: u64Trait Implementations§
§impl Clone for McpRefreshHealth
impl Clone for McpRefreshHealth
§fn clone(&self) -> McpRefreshHealth
fn clone(&self) -> McpRefreshHealth
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 more§impl Debug for McpRefreshHealth
impl Debug for McpRefreshHealth
§impl Default for McpRefreshHealth
impl Default for McpRefreshHealth
§fn default() -> McpRefreshHealth
fn default() -> McpRefreshHealth
Returns the “default value” for a type. Read more
§impl PartialEq for McpRefreshHealth
impl PartialEq for McpRefreshHealth
impl Eq for McpRefreshHealth
impl StructuralPartialEq for McpRefreshHealth
Auto Trait Implementations§
impl Freeze for McpRefreshHealth
impl RefUnwindSafe for McpRefreshHealth
impl Send for McpRefreshHealth
impl Sync for McpRefreshHealth
impl Unpin for McpRefreshHealth
impl UnwindSafe for McpRefreshHealth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more