pub struct GetCommandStatus<'a> { /* private fields */ }Expand description
Builder for Client::get_command_status
Implementations§
Source§impl<'a> GetCommandStatus<'a>
impl<'a> GetCommandStatus<'a>
pub fn new(client: &'a Client) -> Self
pub fn command_id<V>(self, value: V) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<CommandStatusResponse>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<CommandStatusResponse>, Error<ErrorResponse>>
Sends a GET request to /v1/commands/{command_id}
Trait Implementations§
Source§impl<'a> Clone for GetCommandStatus<'a>
impl<'a> Clone for GetCommandStatus<'a>
Source§fn clone(&self) -> GetCommandStatus<'a>
fn clone(&self) -> GetCommandStatus<'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 GetCommandStatus<'a>
impl<'a> !UnwindSafe for GetCommandStatus<'a>
impl<'a> Freeze for GetCommandStatus<'a>
impl<'a> Send for GetCommandStatus<'a>
impl<'a> Sync for GetCommandStatus<'a>
impl<'a> Unpin for GetCommandStatus<'a>
impl<'a> UnsafeUnpin for GetCommandStatus<'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