pub struct MockReportsApi {
ReportsApi_expectations: MockReportsApi_ReportsApi,
}Fields§
§ReportsApi_expectations: MockReportsApi_ReportsApiImplementations§
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>> + 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>> + 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>> + 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>> + 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>> + 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>> + 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>> + 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>> + 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>> + 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>> + 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>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/password-health-report-applications/{orgId}
Auto Trait Implementations§
impl Freeze for MockReportsApi
impl RefUnwindSafe for MockReportsApi
impl Send for MockReportsApi
impl Sync for MockReportsApi
impl Unpin for MockReportsApi
impl UnsafeUnpin for MockReportsApi
impl UnwindSafe for MockReportsApi
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