pub struct RoutedMessage {
pub subscription_key: String,
pub subscription_type: SubscriptionType,
pub payload: Box<dyn Any + Send>,
}Expand description
Routed message with metadata
Fields§
§subscription_key: StringSubscription key (e.g., “trades:BTC-USD”)
subscription_type: SubscriptionTypeType of subscription
payload: Box<dyn Any + Send>Parsed message payload
Auto Trait Implementations§
impl Freeze for RoutedMessage
impl !RefUnwindSafe for RoutedMessage
impl Send for RoutedMessage
impl !Sync for RoutedMessage
impl Unpin for RoutedMessage
impl !UnwindSafe for RoutedMessage
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