struct MockPushApi_PushApi {
add_organization: Expectations,
delete: Expectations,
delete_organization: Expectations,
register: Expectations,
send: Expectations,
}
Fields§
§add_organization: Expectations
§delete: Expectations
§delete_organization: Expectations
§register: Expectations
§send: Expectations
Implementations§
Source§impl MockPushApi_PushApi
impl MockPushApi_PushApi
Sourcepub fn checkpoint(&mut self)
pub fn checkpoint(&mut self)
Validate that all current expectations for all methods have been satisfied, and discard them.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MockPushApi_PushApi
impl RefUnwindSafe for MockPushApi_PushApi
impl Send for MockPushApi_PushApi
impl Sync for MockPushApi_PushApi
impl Unpin for MockPushApi_PushApi
impl UnwindSafe for MockPushApi_PushApi
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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