pub struct ListDebugSessions<'a> { /* private fields */ }Expand description
Builder for Client::list_debug_sessions
Implementations§
Source§impl<'a> ListDebugSessions<'a>
impl<'a> ListDebugSessions<'a>
pub fn new(client: &'a Client) -> Self
pub fn cursor<V>(self, value: V) -> Self
pub fn deployment_id<V>(self, value: V) -> Selfwhere
V: TryInto<ListDebugSessionsDeploymentId>,
pub fn limit<V>(self, value: V) -> Selfwhere
V: TryInto<NonZeroU64>,
pub fn mode<V>(self, value: V) -> Selfwhere
V: TryInto<ListDebugSessionsMode>,
pub fn project<V>(self, value: V) -> Selfwhere
V: TryInto<ProjectIdOrNameQueryParam>,
pub fn provider<V>(self, value: V) -> Selfwhere
V: TryInto<ListDebugSessionsProvider>,
pub fn state<V>(self, value: V) -> Selfwhere
V: TryInto<DebugSessionState>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<ListDebugSessionsWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<DebugSessionListResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<DebugSessionListResponse>, Error<ApiError>>
Sends a GET request to /v1/debug-sessions
Trait Implementations§
Source§impl<'a> Clone for ListDebugSessions<'a>
impl<'a> Clone for ListDebugSessions<'a>
Source§fn clone(&self) -> ListDebugSessions<'a>
fn clone(&self) -> ListDebugSessions<'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 ListDebugSessions<'a>
impl<'a> !UnwindSafe for ListDebugSessions<'a>
impl<'a> Freeze for ListDebugSessions<'a>
impl<'a> Send for ListDebugSessions<'a>
impl<'a> Sync for ListDebugSessions<'a>
impl<'a> Unpin for ListDebugSessions<'a>
impl<'a> UnsafeUnpin for ListDebugSessions<'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