Struct remoteit_api::R3Client
source · pub struct R3Client { /* private fields */ }
Implementations§
source§impl R3Client
impl R3Client
sourcepub async fn send_remoteit_graphql_request_async<V: Serialize, R: for<'a> Deserialize<'a>>(
self,
query_body: &QueryBody<V>,
) -> Result<Response<R>, Box<dyn Error>>
pub async fn send_remoteit_graphql_request_async<V: Serialize, R: for<'a> Deserialize<'a>>( self, query_body: &QueryBody<V>, ) -> Result<Response<R>, Box<dyn Error>>
Sends a signed GraphQL request to the remote.it API asynchronously.
pub fn get_files_async(self) -> R3ClientGetFilesAsyncBuilder
pub fn delete_file_async(self) -> R3ClientDeleteFileAsyncBuilder
pub fn delete_file_version_async(self) -> R3ClientDeleteFileVersionAsyncBuilder
pub fn start_job_async(self) -> R3ClientStartJobAsyncBuilder
pub fn cancel_job_async(self) -> R3ClientCancelJobAsyncBuilder
pub fn get_jobs_async(self) -> R3ClientGetJobsAsyncBuilder
pub fn get_application_types_async( self, ) -> R3ClientGetApplicationTypesAsyncBuilder
pub fn get_devices_async(self) -> R3ClientGetDevicesAsyncBuilder
source§impl R3Client
impl R3Client
pub fn send_remoteit_graphql_request<V: Serialize, R: for<'a> Deserialize<'a>>( self, query_body: &QueryBody<V>, ) -> Result<Response<R>, Box<dyn Error>>
pub fn get_files(self) -> R3ClientGetFilesBuilder
pub fn delete_file(self) -> R3ClientDeleteFileBuilder
pub fn delete_file_version(self) -> R3ClientDeleteFileVersionBuilder
pub fn start_job(self) -> R3ClientStartJobBuilder
pub fn cancel_job(self) -> R3ClientCancelJobBuilder
pub fn get_jobs(self) -> R3ClientGetJobsBuilder
pub fn get_application_types(self) -> R3ClientGetApplicationTypesBuilder
pub fn get_devices(self) -> R3ClientGetDevicesBuilder
source§impl R3Client
impl R3Client
sourcepub fn builder() -> R3ClientBuilder
pub fn builder() -> R3ClientBuilder
Use builder syntax to create an instance of R3Client
source§impl R3Client
impl R3Client
pub fn credentials(&self) -> &Credentials
Auto Trait Implementations§
impl Freeze for R3Client
impl RefUnwindSafe for R3Client
impl Send for R3Client
impl Sync for R3Client
impl Unpin for R3Client
impl UnwindSafe for R3Client
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