pub struct MockOrganizationInviteLinksApi {
OrganizationInviteLinksApi_expectations: MockOrganizationInviteLinksApi_OrganizationInviteLinksApi,
}Fields§
§OrganizationInviteLinksApi_expectations: MockOrganizationInviteLinksApi_OrganizationInviteLinksApiImplementations§
Source§impl MockOrganizationInviteLinksApi
impl MockOrganizationInviteLinksApi
Sourcepub fn checkpoint(&mut self)
pub fn checkpoint(&mut self)
Validate that all current expectations for all methods have been satisfied, and discard them.
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new mock object with no expectations.
This method will not be generated if the real struct
already has a new method. However, it will be
generated if the struct implements a trait with a new
method. The trait’s new method can still be called
like <MockX as TraitY>::new
Source§impl MockOrganizationInviteLinksApi
impl MockOrganizationInviteLinksApi
Sourcepub fn expect_create(&mut self) -> &mut Expectation
pub fn expect_create(&mut self) -> &mut Expectation
Create an Expectation for mocking the create method
Sourcepub fn expect_delete(&mut self) -> &mut Expectation
pub fn expect_delete(&mut self) -> &mut Expectation
Create an Expectation for mocking the delete method
Sourcepub fn expect_get(&mut self) -> &mut Expectation
pub fn expect_get(&mut self) -> &mut Expectation
Create an Expectation for mocking the get method
Sourcepub fn expect_get_status(&mut self) -> &mut Expectation
pub fn expect_get_status(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_status method
Sourcepub fn expect_refresh(&mut self) -> &mut Expectation
pub fn expect_refresh(&mut self) -> &mut Expectation
Create an Expectation for mocking the refresh method
Sourcepub fn expect_update(&mut self) -> &mut Expectation
pub fn expect_update(&mut self) -> &mut Expectation
Create an Expectation for mocking the update method
Trait Implementations§
Source§impl OrganizationInviteLinksApi for MockOrganizationInviteLinksApi
impl OrganizationInviteLinksApi for MockOrganizationInviteLinksApi
Source§fn create<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
create_organization_invite_link_request_model: Option<CreateOrganizationInviteLinkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn create<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
create_organization_invite_link_request_model: Option<CreateOrganizationInviteLinkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/invite-link
Source§fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /organizations/{orgId}/invite-link
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/invite-link
Source§fn get_status<'a, 'life0, 'async_trait>(
&'life0 self,
get_organization_invite_link_status_request_model: Option<GetOrganizationInviteLinkStatusRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_status<'a, 'life0, 'async_trait>(
&'life0 self,
get_organization_invite_link_status_request_model: Option<GetOrganizationInviteLinkStatusRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/invite-link/status
Source§fn refresh<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
refresh_organization_invite_link_request_model: Option<RefreshOrganizationInviteLinkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn refresh<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
refresh_organization_invite_link_request_model: Option<RefreshOrganizationInviteLinkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/invite-link/refresh
Source§fn update<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
update_organization_invite_link_request_model: Option<UpdateOrganizationInviteLinkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
update_organization_invite_link_request_model: Option<UpdateOrganizationInviteLinkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/invite-link