struct MockOrganizationSponsorshipsApi_OrganizationSponsorshipsApi {
admin_initiated_revoke_sponsorship: Expectations,
create_sponsorship: Expectations,
get_sponsored_organizations: Expectations,
get_sync_status: Expectations,
pre_validate_sponsorship_token: Expectations,
redeem_sponsorship: Expectations,
remove_sponsorship: Expectations,
resend_sponsorship_offer: Expectations,
revoke_sponsorship: Expectations,
sync: Expectations,
}
Fields§
§admin_initiated_revoke_sponsorship: Expectations
§create_sponsorship: Expectations
§get_sponsored_organizations: Expectations
§get_sync_status: Expectations
§pre_validate_sponsorship_token: Expectations
§redeem_sponsorship: Expectations
§remove_sponsorship: Expectations
§resend_sponsorship_offer: Expectations
§revoke_sponsorship: Expectations
§sync: Expectations
Implementations§
Source§impl MockOrganizationSponsorshipsApi_OrganizationSponsorshipsApi
impl MockOrganizationSponsorshipsApi_OrganizationSponsorshipsApi
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 MockOrganizationSponsorshipsApi_OrganizationSponsorshipsApi
impl RefUnwindSafe for MockOrganizationSponsorshipsApi_OrganizationSponsorshipsApi
impl Send for MockOrganizationSponsorshipsApi_OrganizationSponsorshipsApi
impl Sync for MockOrganizationSponsorshipsApi_OrganizationSponsorshipsApi
impl Unpin for MockOrganizationSponsorshipsApi_OrganizationSponsorshipsApi
impl UnwindSafe for MockOrganizationSponsorshipsApi_OrganizationSponsorshipsApi
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