struct MockCollectionsApi_CollectionsApi {
delete: Expectations,
delete_many: Expectations,
get: Expectations,
get_all: Expectations,
get_details: Expectations,
get_many_with_details: Expectations,
get_user: Expectations,
get_users: Expectations,
post: Expectations,
post_bulk_collection_access: Expectations,
put: Expectations,
}
Fields§
§delete: Expectations
§delete_many: Expectations
§get: Expectations
§get_all: Expectations
§get_details: Expectations
§get_many_with_details: Expectations
§get_user: Expectations
§get_users: Expectations
§post: Expectations
§post_bulk_collection_access: Expectations
§put: Expectations
Implementations§
Source§impl MockCollectionsApi_CollectionsApi
impl MockCollectionsApi_CollectionsApi
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 MockCollectionsApi_CollectionsApi
impl RefUnwindSafe for MockCollectionsApi_CollectionsApi
impl Send for MockCollectionsApi_CollectionsApi
impl Sync for MockCollectionsApi_CollectionsApi
impl Unpin for MockCollectionsApi_CollectionsApi
impl UnwindSafe for MockCollectionsApi_CollectionsApi
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