pub struct AckServerPromptRequest {
pub body: NotificationRequestBody,
}Expand description
Respond to a server prompt received via ntf websocket message.
Fields§
§body: NotificationRequestBodyImplementations§
Source§impl AckServerPromptRequest
impl AckServerPromptRequest
Sourcepub async fn parse_response(req: Response) -> Result<AckServerPromptResponse>
pub async fn parse_response(req: Response) -> Result<AckServerPromptResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for AckServerPromptRequest
impl Clone for AckServerPromptRequest
Source§fn clone(&self) -> AckServerPromptRequest
fn clone(&self) -> AckServerPromptRequest
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 moreSource§impl Debug for AckServerPromptRequest
impl Debug for AckServerPromptRequest
Source§impl Default for AckServerPromptRequest
impl Default for AckServerPromptRequest
Source§impl Validate for AckServerPromptRequest
impl Validate for AckServerPromptRequest
Source§impl<'v_a> ValidateArgs<'v_a> for AckServerPromptRequest
impl<'v_a> ValidateArgs<'v_a> for AckServerPromptRequest
Auto Trait Implementations§
impl Freeze for AckServerPromptRequest
impl RefUnwindSafe for AckServerPromptRequest
impl Send for AckServerPromptRequest
impl Sync for AckServerPromptRequest
impl Unpin for AckServerPromptRequest
impl UnsafeUnpin for AckServerPromptRequest
impl UnwindSafe for AckServerPromptRequest
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