pub struct SuccessorNotification<Req: JrNotification> {
pub notification: Req,
pub meta: Option<Value>,
}Expand description
A notification being sent to the successor component.
Used in _proxy/successor/send when the proxy wants to forward a notification downstream.
Fields§
§notification: ReqThe message to be sent to the successor component.
meta: Option<Value>Optional metadata
Trait Implementations§
Source§impl<Req: Clone + JrNotification> Clone for SuccessorNotification<Req>
impl<Req: Clone + JrNotification> Clone for SuccessorNotification<Req>
Source§fn clone(&self) -> SuccessorNotification<Req>
fn clone(&self) -> SuccessorNotification<Req>
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<Req: Debug + JrNotification> Debug for SuccessorNotification<Req>
impl<Req: Debug + JrNotification> Debug for SuccessorNotification<Req>
Source§impl<'de, Req> Deserialize<'de> for SuccessorNotification<Req>where
Req: Deserialize<'de> + JrNotification,
impl<'de, Req> Deserialize<'de> for SuccessorNotification<Req>where
Req: Deserialize<'de> + JrNotification,
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<Req: JrNotification> JrMessage for SuccessorNotification<Req>
impl<Req: JrNotification> JrMessage for SuccessorNotification<Req>
Source§fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
fn to_untyped_message(&self) -> Result<UntypedMessage, Error>
The parameters for the request.
Source§impl<Req> Serialize for SuccessorNotification<Req>where
Req: Serialize + JrNotification,
impl<Req> Serialize for SuccessorNotification<Req>where
Req: Serialize + JrNotification,
impl<Req: JrNotification> JrNotification for SuccessorNotification<Req>
Auto Trait Implementations§
impl<Req> Freeze for SuccessorNotification<Req>where
Req: Freeze,
impl<Req> RefUnwindSafe for SuccessorNotification<Req>where
Req: RefUnwindSafe,
impl<Req> Send for SuccessorNotification<Req>
impl<Req> Sync for SuccessorNotification<Req>where
Req: Sync,
impl<Req> Unpin for SuccessorNotification<Req>where
Req: Unpin,
impl<Req> UnwindSafe for SuccessorNotification<Req>where
Req: UnwindSafe,
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