pub struct MockReportsApi {
ReportsApi_expectations: MockReportsApi_ReportsApi,
}
Fields§
§ReportsApi_expectations: MockReportsApi_ReportsApi
Implementations§
Source§impl MockReportsApi
impl MockReportsApi
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 MockReportsApi
impl MockReportsApi
Sourcepub fn expect_add_password_health_report_application(
&mut self,
) -> &mut Expectation
pub fn expect_add_password_health_report_application( &mut self, ) -> &mut Expectation
Create an Expectation
for mocking the add_password_health_report_application
method
Sourcepub fn expect_add_password_health_report_applications(
&mut self,
) -> &mut Expectation
pub fn expect_add_password_health_report_applications( &mut self, ) -> &mut Expectation
Create an Expectation
for mocking the add_password_health_report_applications
method
Sourcepub fn expect_drop_password_health_report_application(
&mut self,
) -> &mut Expectation
pub fn expect_drop_password_health_report_application( &mut self, ) -> &mut Expectation
Create an Expectation
for mocking the drop_password_health_report_application
method
Sourcepub fn expect_get_member_access_report(&mut self) -> &mut Expectation
pub fn expect_get_member_access_report(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_member_access_report
method
Sourcepub fn expect_get_member_cipher_details(&mut self) -> &mut Expectation
pub fn expect_get_member_cipher_details(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_member_cipher_details
method
Sourcepub fn expect_get_password_health_report_applications(
&mut self,
) -> &mut Expectation
pub fn expect_get_password_health_report_applications( &mut self, ) -> &mut Expectation
Create an Expectation
for mocking the get_password_health_report_applications
method
Trait Implementations§
Source§impl Debug for MockReportsApi
impl Debug for MockReportsApi
Source§impl Default for MockReportsApi
impl Default for MockReportsApi
Source§impl ReportsApi for MockReportsApi
impl ReportsApi for MockReportsApi
Source§fn add_password_health_report_application<'a, 'life0, 'async_trait>(
&'life0 self,
password_health_report_application_model: Option<PasswordHealthReportApplicationModel>,
) -> Pin<Box<dyn Future<Output = Result<PasswordHealthReportApplication, Error<AddPasswordHealthReportApplicationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn add_password_health_report_application<'a, 'life0, 'async_trait>(
&'life0 self,
password_health_report_application_model: Option<PasswordHealthReportApplicationModel>,
) -> Pin<Box<dyn Future<Output = Result<PasswordHealthReportApplication, Error<AddPasswordHealthReportApplicationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /reports/password-health-report-application
Source§fn add_password_health_report_applications<'a, 'life0, 'async_trait>(
&'life0 self,
password_health_report_application_model: Option<Vec<PasswordHealthReportApplicationModel>>,
) -> Pin<Box<dyn Future<Output = Result<Vec<PasswordHealthReportApplication>, Error<AddPasswordHealthReportApplicationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn add_password_health_report_applications<'a, 'life0, 'async_trait>(
&'life0 self,
password_health_report_application_model: Option<Vec<PasswordHealthReportApplicationModel>>,
) -> Pin<Box<dyn Future<Output = Result<Vec<PasswordHealthReportApplication>, Error<AddPasswordHealthReportApplicationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /reports/password-health-report-applications
Source§fn drop_password_health_report_application<'a, 'life0, 'async_trait>(
&'life0 self,
drop_password_health_report_application_request: Option<DropPasswordHealthReportApplicationRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DropPasswordHealthReportApplicationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn drop_password_health_report_application<'a, 'life0, 'async_trait>(
&'life0 self,
drop_password_health_report_application_request: Option<DropPasswordHealthReportApplicationRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DropPasswordHealthReportApplicationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /reports/password-health-report-application
Source§fn get_member_access_report<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<MemberAccessDetailReportResponseModel>, Error<GetMemberAccessReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_member_access_report<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<MemberAccessDetailReportResponseModel>, Error<GetMemberAccessReportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/member-access/{orgId}
Source§fn get_member_cipher_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<MemberCipherDetailsResponseModel>, Error<GetMemberCipherDetailsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_member_cipher_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<MemberCipherDetailsResponseModel>, Error<GetMemberCipherDetailsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/member-cipher-details/{orgId}
Source§fn get_password_health_report_applications<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<PasswordHealthReportApplication>, Error<GetPasswordHealthReportApplicationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_password_health_report_applications<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<PasswordHealthReportApplication>, Error<GetPasswordHealthReportApplicationsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/password-health-report-applications/{orgId}