pub struct GetDeploymentProtectionUpdate<'a> { /* private fields */ }Expand description
Builder for Client::get_deployment_protection_update
Implementations§
Source§impl<'a> GetDeploymentProtectionUpdate<'a>
impl<'a> GetDeploymentProtectionUpdate<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Selfwhere
V: TryInto<AlienSharedObject2e0d25ca639bb32e>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<AlienSharedObjectc7509e30e8900406>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<DeploymentProtectionUpdate>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<DeploymentProtectionUpdate>, Error<ApiError>>
Sends a GET request to /v1/deployments/{id}/protection-update
Trait Implementations§
Source§impl<'a> Clone for GetDeploymentProtectionUpdate<'a>
impl<'a> Clone for GetDeploymentProtectionUpdate<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetDeploymentProtectionUpdate<'a>
impl<'a> !UnwindSafe for GetDeploymentProtectionUpdate<'a>
impl<'a> Forget for GetDeploymentProtectionUpdate<'a>
impl<'a> Freeze for GetDeploymentProtectionUpdate<'a>
impl<'a> Move for GetDeploymentProtectionUpdate<'a>
impl<'a> Send for GetDeploymentProtectionUpdate<'a>
impl<'a> Sync for GetDeploymentProtectionUpdate<'a>
impl<'a> Unpin for GetDeploymentProtectionUpdate<'a>
impl<'a> UnsafeUnpin for GetDeploymentProtectionUpdate<'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