pub struct GetContainerAttention<'a> { /* private fields */ }Expand description
Builder for Client::get_container_attention
Implementations§
Source§impl<'a> GetContainerAttention<'a>
impl<'a> GetContainerAttention<'a>
pub fn new(client: &'a Client) -> Self
pub fn deployment_group_id<V>(self, value: V) -> Self
pub fn project<V>(self, value: V) -> Selfwhere
V: TryInto<ProjectIdOrNameQueryParam>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<GetContainerAttentionWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<GetContainerAttentionResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<GetContainerAttentionResponse>, Error<ApiError>>
Sends a GET request to /v1/containers/attention
Trait Implementations§
Source§impl<'a> Clone for GetContainerAttention<'a>
impl<'a> Clone for GetContainerAttention<'a>
Source§fn clone(&self) -> GetContainerAttention<'a>
fn clone(&self) -> GetContainerAttention<'a>
Returns a duplicate of the value. Read more
1.0.0 · 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 GetContainerAttention<'a>
impl<'a> !RefUnwindSafe for GetContainerAttention<'a>
impl<'a> Send for GetContainerAttention<'a>
impl<'a> Sync for GetContainerAttention<'a>
impl<'a> Unpin for GetContainerAttention<'a>
impl<'a> UnsafeUnpin for GetContainerAttention<'a>
impl<'a> !UnwindSafe for GetContainerAttention<'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