pub struct GetDynamicContainer<'a> { /* private fields */ }Expand description
Builder for Client::get_dynamic_container
Implementations§
Source§impl<'a> GetDynamicContainer<'a>
impl<'a> GetDynamicContainer<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Selfwhere
V: TryInto<GetDynamicContainerId>,
pub fn name<V>(self, value: V) -> Selfwhere
V: TryInto<DynamicContainerName>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<GetDynamicContainerWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<DynamicContainerResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<DynamicContainerResponse>, Error<ApiError>>
Sends a GET request to /v1/deployments/{id}/dynamic-containers/{name}
Trait Implementations§
Source§impl<'a> Clone for GetDynamicContainer<'a>
impl<'a> Clone for GetDynamicContainer<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetDynamicContainer<'a>
impl<'a> !UnwindSafe for GetDynamicContainer<'a>
impl<'a> Freeze for GetDynamicContainer<'a>
impl<'a> Send for GetDynamicContainer<'a>
impl<'a> Sync for GetDynamicContainer<'a>
impl<'a> Unpin for GetDynamicContainer<'a>
impl<'a> UnsafeUnpin for GetDynamicContainer<'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