pub struct CancelDeploymentCredentialRotation<'a> { /* private fields */ }Expand description
Builder for Client::cancel_deployment_credential_rotation
Implementations§
Source§impl<'a> CancelDeploymentCredentialRotation<'a>
impl<'a> CancelDeploymentCredentialRotation<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Selfwhere
V: TryInto<CancelDeploymentCredentialRotationId>,
pub fn workspace<V>(self, value: V) -> Self
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<CancelDeploymentCredentialRotationBody>,
<V as TryInto<CancelDeploymentCredentialRotationBody>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<DeploymentCredentialRotation>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<DeploymentCredentialRotation>, Error<ApiError>>
Sends a POST request to /v1/deployments/{id}/credential-rotation/cancel
Trait Implementations§
Source§impl<'a> Clone for CancelDeploymentCredentialRotation<'a>
impl<'a> Clone for CancelDeploymentCredentialRotation<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CancelDeploymentCredentialRotation<'a>
impl<'a> !UnwindSafe for CancelDeploymentCredentialRotation<'a>
impl<'a> Freeze for CancelDeploymentCredentialRotation<'a>
impl<'a> Send for CancelDeploymentCredentialRotation<'a>
impl<'a> Sync for CancelDeploymentCredentialRotation<'a>
impl<'a> Unpin for CancelDeploymentCredentialRotation<'a>
impl<'a> UnsafeUnpin for CancelDeploymentCredentialRotation<'a>
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