pub struct Call<T: Serialize> {
pub msg_type: MessageType,
pub data: T,
}Expand description
A HLApi call, composed of a type and some json serializable data.
Fields§
§msg_type: MessageType§data: TImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Call<T>where
T: Freeze,
impl<T> RefUnwindSafe for Call<T>where
T: RefUnwindSafe,
impl<T> Send for Call<T>where
T: Send,
impl<T> Sync for Call<T>where
T: Sync,
impl<T> Unpin for Call<T>where
T: Unpin,
impl<T> UnsafeUnpin for Call<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Call<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