pub struct PoliciesApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl PoliciesApiClient
impl PoliciesApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl PoliciesApi for PoliciesApiClient
impl PoliciesApi for PoliciesApiClient
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
type: PolicyType,
) -> Pin<Box<dyn Future<Output = Result<PolicyStatusResponseModel, 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,
type: PolicyType,
) -> Pin<Box<dyn Future<Output = Result<PolicyStatusResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/policies/{type}
Source§fn get_all<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<PolicyStatusResponseModelListResponseModel, 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: &'a str,
) -> Pin<Box<dyn Future<Output = Result<PolicyStatusResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/policies
Source§fn get_by_token<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
email: Option<&'a str>,
token: Option<&'a str>,
organization_user_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<PolicyResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_by_token<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
email: Option<&'a str>,
token: Option<&'a str>,
organization_user_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<PolicyResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/policies/token
Source§fn get_master_password_policy<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PolicyResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_master_password_policy<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<PolicyResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/policies/master-password
Source§fn put<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
type: PolicyType,
save_policy_request: Option<SavePolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<PolicyResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
type: PolicyType,
save_policy_request: Option<SavePolicyRequest>,
) -> Pin<Box<dyn Future<Output = Result<PolicyResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/policies/{type}
Auto Trait Implementations§
impl Freeze for PoliciesApiClient
impl !RefUnwindSafe for PoliciesApiClient
impl Send for PoliciesApiClient
impl Sync for PoliciesApiClient
impl Unpin for PoliciesApiClient
impl UnsafeUnpin for PoliciesApiClient
impl !UnwindSafe for PoliciesApiClient
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
Mutably borrows from an owned value. Read more
§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
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more