Struct fundamentum_sdk_api::client::devices_api::DevicesApi
source · pub struct DevicesApi { /* private fields */ }
Expand description
“Devices” section of the devices API
Implementations§
source§impl DevicesApi
impl DevicesApi
sourcepub async fn get_device_configuration(
&self,
serial_number: String
) -> Result<GetDeviceRes, SdkClientError>
pub async fn get_device_configuration( &self, serial_number: String ) -> Result<GetDeviceRes, SdkClientError>
sourcepub async fn delete_device(
&self,
serial_number: String
) -> Result<(), SdkClientError>
pub async fn delete_device( &self, serial_number: String ) -> Result<(), SdkClientError>
sourcepub async fn store_device(
&self,
serial_number: impl Into<String> + Send + Clone,
name: Option<impl Into<String> + Send>,
device_type_id: u32
) -> Result<StoreDeviceRes, SdkClientError>
pub async fn store_device( &self, serial_number: impl Into<String> + Send + Clone, name: Option<impl Into<String> + Send>, device_type_id: u32 ) -> Result<StoreDeviceRes, SdkClientError>
Auto Trait Implementations§
impl !RefUnwindSafe for DevicesApi
impl Send for DevicesApi
impl Sync for DevicesApi
impl Unpin for DevicesApi
impl !UnwindSafe for DevicesApi
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