pub struct CreateDebugSession<'a> { /* private fields */ }Expand description
Builder for Client::create_debug_session
Implementations§
Source§impl<'a> CreateDebugSession<'a>
impl<'a> CreateDebugSession<'a>
pub fn new(client: &'a Client) -> Self
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<CreateDebugSessionWorkspace>,
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<CreateDebugSessionRequest>,
<V as TryInto<CreateDebugSessionRequest>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<DebugSession>, Error<ApiError>>
pub async fn send(self) -> Result<ResponseValue<DebugSession>, Error<ApiError>>
Sends a POST request to /v1/debug-sessions
Trait Implementations§
Source§impl<'a> Clone for CreateDebugSession<'a>
impl<'a> Clone for CreateDebugSession<'a>
Source§fn clone(&self) -> CreateDebugSession<'a>
fn clone(&self) -> CreateDebugSession<'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 CreateDebugSession<'a>
impl<'a> !UnwindSafe for CreateDebugSession<'a>
impl<'a> Freeze for CreateDebugSession<'a>
impl<'a> Send for CreateDebugSession<'a>
impl<'a> Sync for CreateDebugSession<'a>
impl<'a> Unpin for CreateDebugSession<'a>
impl<'a> UnsafeUnpin for CreateDebugSession<'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