pub struct AcceptCloudFormationCallback<'a> { /* private fields */ }Expand description
Builder for Client::accept_cloud_formation_callback
Implementations§
Source§impl<'a> AcceptCloudFormationCallback<'a>
impl<'a> AcceptCloudFormationCallback<'a>
pub fn new(client: &'a Client) -> Self
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<AcceptCloudFormationCallbackWorkspace>,
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<CloudFormationCallbackRequest>,
<V as TryInto<CloudFormationCallbackRequest>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<AcceptCloudFormationCallbackResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<AcceptCloudFormationCallbackResponse>, Error<ApiError>>
Sends a POST request to /v1/deployments/cloudformation-callbacks
Trait Implementations§
Source§impl<'a> Clone for AcceptCloudFormationCallback<'a>
impl<'a> Clone for AcceptCloudFormationCallback<'a>
Source§fn clone(&self) -> AcceptCloudFormationCallback<'a>
fn clone(&self) -> AcceptCloudFormationCallback<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for AcceptCloudFormationCallback<'a>
impl<'a> !RefUnwindSafe for AcceptCloudFormationCallback<'a>
impl<'a> Send for AcceptCloudFormationCallback<'a>
impl<'a> Sync for AcceptCloudFormationCallback<'a>
impl<'a> Unpin for AcceptCloudFormationCallback<'a>
impl<'a> UnsafeUnpin for AcceptCloudFormationCallback<'a>
impl<'a> !UnwindSafe for AcceptCloudFormationCallback<'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