struct MockDevicesApi_DevicesApi {Show 14 fields
deactivate: Expectations,
get: Expectations,
get_all: Expectations,
get_by_identifier: Expectations,
get_by_identifier_query: Expectations,
post: Expectations,
post_lost_trust: Expectations,
post_untrust: Expectations,
post_update_trust: Expectations,
put: Expectations,
put_clear_token: Expectations,
put_keys: Expectations,
put_token: Expectations,
put_web_push_auth: Expectations,
}
Fields§
§deactivate: Expectations
§get: Expectations
§get_all: Expectations
§get_by_identifier: Expectations
§get_by_identifier_query: Expectations
§post: Expectations
§post_lost_trust: Expectations
§post_untrust: Expectations
§post_update_trust: Expectations
§put: Expectations
§put_clear_token: Expectations
§put_keys: Expectations
§put_token: Expectations
§put_web_push_auth: Expectations
Implementations§
Source§impl MockDevicesApi_DevicesApi
impl MockDevicesApi_DevicesApi
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 MockDevicesApi_DevicesApi
impl RefUnwindSafe for MockDevicesApi_DevicesApi
impl Send for MockDevicesApi_DevicesApi
impl Sync for MockDevicesApi_DevicesApi
impl Unpin for MockDevicesApi_DevicesApi
impl UnwindSafe for MockDevicesApi_DevicesApi
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