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_policies(&mut self) -> &mut Expectation
pub fn expect_get_policies(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_policies 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
Sourcepub fn expect_validate_email_domain(&mut self) -> &mut Expectation
pub fn expect_validate_email_domain(&mut self) -> &mut Expectation
Create an Expectation for mocking the validate_email_domain 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_policies<'a, 'life0, 'async_trait>(
&'life0 self,
get_organization_invite_link_policies_request_model: Option<GetOrganizationInviteLinkPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_policies<'a, 'life0, 'async_trait>(
&'life0 self,
get_organization_invite_link_policies_request_model: Option<GetOrganizationInviteLinkPoliciesRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/invite-link/policies
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
Source§fn validate_email_domain<'a, 'life0, 'async_trait>(
&'life0 self,
organization_invite_link_validate_email_domain_request_model: Option<OrganizationInviteLinkValidateEmailDomainRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn validate_email_domain<'a, 'life0, 'async_trait>(
&'life0 self,
organization_invite_link_validate_email_domain_request_model: Option<OrganizationInviteLinkValidateEmailDomainRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/invite-link/validate-email-domain
Auto Trait Implementations§
impl Freeze for MockOrganizationInviteLinksApi
impl RefUnwindSafe for MockOrganizationInviteLinksApi
impl Send for MockOrganizationInviteLinksApi
impl Sync for MockOrganizationInviteLinksApi
impl Unpin for MockOrganizationInviteLinksApi
impl UnsafeUnpin for MockOrganizationInviteLinksApi
impl UnwindSafe for MockOrganizationInviteLinksApi
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Arc<> Read more