pub struct MockOrganizationDomainApi {
OrganizationDomainApi_expectations: MockOrganizationDomainApi_OrganizationDomainApi,
}Fields§
§OrganizationDomainApi_expectations: MockOrganizationDomainApi_OrganizationDomainApiImplementations§
Source§impl MockOrganizationDomainApi
impl MockOrganizationDomainApi
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 MockOrganizationDomainApi
impl MockOrganizationDomainApi
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_all(&mut self) -> &mut Expectation
pub fn expect_get_all(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_all method
Sourcepub fn expect_get_verified_org_domain_sso_details(&mut self) -> &mut Expectation
pub fn expect_get_verified_org_domain_sso_details(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_verified_org_domain_sso_details method
Sourcepub fn expect_post(&mut self) -> &mut Expectation
pub fn expect_post(&mut self) -> &mut Expectation
Create an Expectation for mocking the post method
Sourcepub fn expect_remove_domain(&mut self) -> &mut Expectation
pub fn expect_remove_domain(&mut self) -> &mut Expectation
Create an Expectation for mocking the remove_domain method
Sourcepub fn expect_verify(&mut self) -> &mut Expectation
pub fn expect_verify(&mut self) -> &mut Expectation
Create an Expectation for mocking the verify method
Trait Implementations§
Source§impl Debug for MockOrganizationDomainApi
impl Debug for MockOrganizationDomainApi
Source§impl Default for MockOrganizationDomainApi
impl Default for MockOrganizationDomainApi
Source§impl OrganizationDomainApi for MockOrganizationDomainApi
impl OrganizationDomainApi for MockOrganizationDomainApi
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, 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,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/domain/{id}
Source§fn get_all<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_all<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/domain
Source§fn get_verified_org_domain_sso_details<'a, 'life0, 'async_trait>(
&'life0 self,
organization_domain_sso_details_request_model: Option<OrganizationDomainSsoDetailsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<VerifiedOrganizationDomainSsoDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_verified_org_domain_sso_details<'a, 'life0, 'async_trait>(
&'life0 self,
organization_domain_sso_details_request_model: Option<OrganizationDomainSsoDetailsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<VerifiedOrganizationDomainSsoDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/domain/sso/verified
Source§fn post<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_domain_request_model: Option<OrganizationDomainRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_domain_request_model: Option<OrganizationDomainRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationDomainResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/domain
Auto Trait Implementations§
impl Freeze for MockOrganizationDomainApi
impl RefUnwindSafe for MockOrganizationDomainApi
impl Send for MockOrganizationDomainApi
impl Sync for MockOrganizationDomainApi
impl Unpin for MockOrganizationDomainApi
impl UnsafeUnpin for MockOrganizationDomainApi
impl UnwindSafe for MockOrganizationDomainApi
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