pub struct MockMessage {
pub request: Value,
pub response: Value,
pub delay_ms: Option<u64>,
}Expand description
Mock WebSocket message for testing
Fields§
§request: Value§response: Value§delay_ms: Option<u64>Trait Implementations§
Source§impl Clone for MockMessage
impl Clone for MockMessage
Auto Trait Implementations§
impl Freeze for MockMessage
impl RefUnwindSafe for MockMessage
impl Send for MockMessage
impl Sync for MockMessage
impl Unpin for MockMessage
impl UnsafeUnpin for MockMessage
impl UnwindSafe for MockMessage
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