pub struct RevokeContainerRegistry<'a> { /* private fields */ }Expand description
Builder for Client::revoke_container_registry
Implementations§
Source§impl<'a> RevokeContainerRegistry<'a>
impl<'a> RevokeContainerRegistry<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Selfwhere
V: TryInto<RevokeContainerRegistryId>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<RevokeContainerRegistryWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<RevokeContainerRegistryResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<RevokeContainerRegistryResponse>, Error<ApiError>>
Sends a POST request to /v1/deployment-groups/{id}/container-registry/revoke
Trait Implementations§
Source§impl<'a> Clone for RevokeContainerRegistry<'a>
impl<'a> Clone for RevokeContainerRegistry<'a>
Source§fn clone(&self) -> RevokeContainerRegistry<'a>
fn clone(&self) -> RevokeContainerRegistry<'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> !RefUnwindSafe for RevokeContainerRegistry<'a>
impl<'a> !UnwindSafe for RevokeContainerRegistry<'a>
impl<'a> Freeze for RevokeContainerRegistry<'a>
impl<'a> Send for RevokeContainerRegistry<'a>
impl<'a> Sync for RevokeContainerRegistry<'a>
impl<'a> Unpin for RevokeContainerRegistry<'a>
impl<'a> UnsafeUnpin for RevokeContainerRegistry<'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