pub struct ListCommandAgents<'a> { /* private fields */ }Expand description
Builder for Client::list_command_agents
Implementations§
Source§impl<'a> ListCommandAgents<'a>
impl<'a> ListCommandAgents<'a>
pub fn new(client: &'a Client) -> Self
pub fn project<V>(self, value: V) -> Selfwhere
V: TryInto<ProjectIdOrNameQueryParam>,
pub fn search<V>(self, value: V) -> Selfwhere
V: TryInto<ListCommandAgentsSearch>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<ListCommandAgentsWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ListCommandDeploymentsResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<ListCommandDeploymentsResponse>, Error<ApiError>>
Sends a GET request to /v1/commands/deployments
Trait Implementations§
Source§impl<'a> Clone for ListCommandAgents<'a>
impl<'a> Clone for ListCommandAgents<'a>
Source§fn clone(&self) -> ListCommandAgents<'a>
fn clone(&self) -> ListCommandAgents<'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 ListCommandAgents<'a>
impl<'a> !RefUnwindSafe for ListCommandAgents<'a>
impl<'a> Send for ListCommandAgents<'a>
impl<'a> Sync for ListCommandAgents<'a>
impl<'a> Unpin for ListCommandAgents<'a>
impl<'a> UnsafeUnpin for ListCommandAgents<'a>
impl<'a> !UnwindSafe for ListCommandAgents<'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