pub struct MockCall {
pub method: String,
pub payload: String,
pub target: Target,
pub kind: CallKind,
pub timeout_ms: Option<u32>,
pub answered: bool,
}Expand description
One call as the host saw it.
Fields§
§method: String§payload: String§target: Target§kind: CallKind§timeout_ms: Option<u32>§answered: boolA call-async whose answer was delivered.
Trait Implementations§
impl Eq for MockCall
impl StructuralPartialEq for MockCall
Auto Trait Implementations§
impl Freeze for MockCall
impl RefUnwindSafe for MockCall
impl Send for MockCall
impl Sync for MockCall
impl Unpin for MockCall
impl UnsafeUnpin for MockCall
impl UnwindSafe for MockCall
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