pub struct ListCommands<'a> { /* private fields */ }Expand description
Builder for Client::list_commands
Implementations§
Source§impl<'a> ListCommands<'a>
impl<'a> ListCommands<'a>
pub fn new(client: &'a Client) -> Self
pub fn created_after<V>(self, value: V) -> Self
pub fn created_before<V>(self, value: V) -> Self
pub fn cursor<V>(self, value: V) -> Self
pub fn deployment_id<V>(self, value: V) -> Selfwhere
V: TryInto<ListCommandsDeploymentId>,
pub fn include<V>(self, value: V) -> Self
pub fn limit<V>(self, value: V) -> Selfwhere
V: TryInto<NonZeroU64>,
pub fn name<V>(self, value: V) -> Selfwhere
V: TryInto<ListCommandsName>,
pub fn project<V>(self, value: V) -> Selfwhere
V: TryInto<ProjectIdOrNameQueryParam>,
pub fn state<V>(self, value: V) -> Selfwhere
V: TryInto<ListCommandsState>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<ListCommandsWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ListCommandsResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<ListCommandsResponse>, Error<ApiError>>
Sends a GET request to /v1/commands
Trait Implementations§
Source§impl<'a> Clone for ListCommands<'a>
impl<'a> Clone for ListCommands<'a>
Source§fn clone(&self) -> ListCommands<'a>
fn clone(&self) -> ListCommands<'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 ListCommands<'a>
impl<'a> !RefUnwindSafe for ListCommands<'a>
impl<'a> Send for ListCommands<'a>
impl<'a> Sync for ListCommands<'a>
impl<'a> Unpin for ListCommands<'a>
impl<'a> UnsafeUnpin for ListCommands<'a>
impl<'a> !UnwindSafe for ListCommands<'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