pub struct EndpointDisabledEvent {
pub data: Box<EndpointDisabledEventData>,
pub type: Type,
}
Expand description
EndpointDisabledEvent : Sent when an endpoint has been automatically disabled after continuous failures.
Fields§
§data: Box<EndpointDisabledEventData>
§type: Type
Implementations§
Source§impl EndpointDisabledEvent
impl EndpointDisabledEvent
Sourcepub fn new(data: EndpointDisabledEventData, type: Type) -> EndpointDisabledEvent
pub fn new(data: EndpointDisabledEventData, type: Type) -> EndpointDisabledEvent
Sent when an endpoint has been automatically disabled after continuous failures.
Trait Implementations§
Source§impl Clone for EndpointDisabledEvent
impl Clone for EndpointDisabledEvent
Source§fn clone(&self) -> EndpointDisabledEvent
fn clone(&self) -> EndpointDisabledEvent
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 EndpointDisabledEvent
impl Debug for EndpointDisabledEvent
Source§impl Default for EndpointDisabledEvent
impl Default for EndpointDisabledEvent
Source§fn default() -> EndpointDisabledEvent
fn default() -> EndpointDisabledEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointDisabledEvent
impl<'de> Deserialize<'de> for EndpointDisabledEvent
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 EndpointDisabledEvent
impl PartialEq for EndpointDisabledEvent
Source§impl Serialize for EndpointDisabledEvent
impl Serialize for EndpointDisabledEvent
impl StructuralPartialEq for EndpointDisabledEvent
Auto Trait Implementations§
impl Freeze for EndpointDisabledEvent
impl RefUnwindSafe for EndpointDisabledEvent
impl Send for EndpointDisabledEvent
impl Sync for EndpointDisabledEvent
impl Unpin for EndpointDisabledEvent
impl UnwindSafe for EndpointDisabledEvent
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