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