struct MockTwoFactorApi_TwoFactorApi {Show 21 fields
delete_web_authn: Expectations,
disable_authenticator: Expectations,
get: Expectations,
get_authenticator: Expectations,
get_duo: Expectations,
get_email: Expectations,
get_organization: Expectations,
get_organization_duo: Expectations,
get_recover: Expectations,
get_web_authn: Expectations,
get_yubi_key: Expectations,
put_authenticator: Expectations,
put_disable: Expectations,
put_duo: Expectations,
put_email: Expectations,
put_organization_disable: Expectations,
put_organization_duo: Expectations,
put_web_authn: Expectations,
put_yubi_key: Expectations,
send_email: Expectations,
send_email_login: Expectations,
}
Fields§
§delete_web_authn: Expectations
§disable_authenticator: Expectations
§get: Expectations
§get_authenticator: Expectations
§get_duo: Expectations
§get_email: Expectations
§get_organization: Expectations
§get_organization_duo: Expectations
§get_recover: Expectations
§get_web_authn: Expectations
§get_yubi_key: Expectations
§put_authenticator: Expectations
§put_disable: Expectations
§put_duo: Expectations
§put_email: Expectations
§put_organization_disable: Expectations
§put_organization_duo: Expectations
§put_web_authn: Expectations
§put_yubi_key: Expectations
§send_email: Expectations
§send_email_login: Expectations
Implementations§
Source§impl MockTwoFactorApi_TwoFactorApi
impl MockTwoFactorApi_TwoFactorApi
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 MockTwoFactorApi_TwoFactorApi
impl RefUnwindSafe for MockTwoFactorApi_TwoFactorApi
impl Send for MockTwoFactorApi_TwoFactorApi
impl Sync for MockTwoFactorApi_TwoFactorApi
impl Unpin for MockTwoFactorApi_TwoFactorApi
impl UnwindSafe for MockTwoFactorApi_TwoFactorApi
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