struct MockNotificationsApi_NotificationsApi {
list: Expectations,
mark_as_deleted: Expectations,
mark_as_read: Expectations,
}
Fields§
§list: Expectations
§mark_as_deleted: Expectations
§mark_as_read: Expectations
Implementations§
Source§impl MockNotificationsApi_NotificationsApi
impl MockNotificationsApi_NotificationsApi
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 MockNotificationsApi_NotificationsApi
impl RefUnwindSafe for MockNotificationsApi_NotificationsApi
impl Send for MockNotificationsApi_NotificationsApi
impl Sync for MockNotificationsApi_NotificationsApi
impl Unpin for MockNotificationsApi_NotificationsApi
impl UnwindSafe for MockNotificationsApi_NotificationsApi
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