pub struct PolicyEditorV2BetaApiClient { /* private fields */ }Implementations§
Source§impl PolicyEditorV2BetaApiClient
impl PolicyEditorV2BetaApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl PolicyEditorV2BetaApi for PolicyEditorV2BetaApiClient
impl PolicyEditorV2BetaApi for PolicyEditorV2BetaApiClient
Source§fn get_active_v2_policy<'life0, 'async_trait>(
&'life0 self,
params: GetActiveV2PolicyParams,
) -> Pin<Box<dyn Future<Output = Result<PolicyAndValidationResponseV2, Error<GetActiveV2PolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_active_v2_policy<'life0, 'async_trait>(
&'life0 self,
params: GetActiveV2PolicyParams,
) -> Pin<Box<dyn Future<Output = Result<PolicyAndValidationResponseV2, Error<GetActiveV2PolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the active policy and its validation for a specific policy type. Note: This endpoint is currently in beta and might be subject to changes.
Source§fn get_v2_draft<'life0, 'async_trait>(
&'life0 self,
params: GetV2DraftParams,
) -> Pin<Box<dyn Future<Output = Result<DraftReviewAndValidationResponseV2, Error<GetV2DraftError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_v2_draft<'life0, 'async_trait>(
&'life0 self,
params: GetV2DraftParams,
) -> Pin<Box<dyn Future<Output = Result<DraftReviewAndValidationResponseV2, Error<GetV2DraftError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the active draft and its validation for a specific policy type. Note: This endpoint is currently in beta and might be subject to changes.
Source§fn publish_v2_draft<'life0, 'async_trait>(
&'life0 self,
params: PublishV2DraftParams,
) -> Pin<Box<dyn Future<Output = Result<PublishResultV2, Error<PublishV2DraftError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn publish_v2_draft<'life0, 'async_trait>(
&'life0 self,
params: PublishV2DraftParams,
) -> Pin<Box<dyn Future<Output = Result<PublishResultV2, Error<PublishV2DraftError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send publish request of certain draft ID and returns the response. Note: This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Policy Editor, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com.
Source§fn update_v2_draft<'life0, 'async_trait>(
&'life0 self,
params: UpdateV2DraftParams,
) -> Pin<Box<dyn Future<Output = Result<DraftReviewAndValidationResponseV2, Error<UpdateV2DraftError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_v2_draft<'life0, 'async_trait>(
&'life0 self,
params: UpdateV2DraftParams,
) -> Pin<Box<dyn Future<Output = Result<DraftReviewAndValidationResponseV2, Error<UpdateV2DraftError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Update the draft and return its validation for specific policy types. Note: This endpoint is currently in beta and might be subject to changes.
Auto Trait Implementations§
impl Freeze for PolicyEditorV2BetaApiClient
impl !RefUnwindSafe for PolicyEditorV2BetaApiClient
impl Send for PolicyEditorV2BetaApiClient
impl Sync for PolicyEditorV2BetaApiClient
impl Unpin for PolicyEditorV2BetaApiClient
impl !UnwindSafe for PolicyEditorV2BetaApiClient
Blanket Implementations§
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