pub struct DispatchMessage<T>{
pub dispatch_type: T,
pub payload: String,
}
Fields§
§dispatch_type: T
§payload: String
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for DispatchMessage<T>where
T: Freeze,
impl<T> RefUnwindSafe for DispatchMessage<T>where
T: RefUnwindSafe,
impl<T> Send for DispatchMessage<T>
impl<T> Sync for DispatchMessage<T>where
T: Sync,
impl<T> Unpin for DispatchMessage<T>where
T: Unpin,
impl<T> UnwindSafe for DispatchMessage<T>where
T: 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