pub struct SendAlert {
pub session_id: Uuid,
pub alert: AlertInfo,
}Expand description
Send an alert to n0des when an error-level log event is captured.
Fields§
§session_id: Uuid§alert: AlertInfoTrait Implementations§
Source§impl Channels<IrohServicesProtocol> for SendAlert
impl Channels<IrohServicesProtocol> for SendAlert
Source§impl<'de> Deserialize<'de> for SendAlert
impl<'de> Deserialize<'de> for SendAlert
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 From<SendAlert> for IrohServicesProtocol
impl From<SendAlert> for IrohServicesProtocol
Auto Trait Implementations§
impl Freeze for SendAlert
impl RefUnwindSafe for SendAlert
impl Send for SendAlert
impl Sync for SendAlert
impl Unpin for SendAlert
impl UnwindSafe for SendAlert
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