Memperbaiki penamaan struktur
This commit is contained in:
1 parent
bb1fee0c68
commit
d16127348c
4 files changed
+15
-15
No files matched your search
+4
-4
@@ -1,5 +1,5 @@
|
||||
use serde::de::DeserializeOwned;
|
||||
use tauri::{plugin::PluginApi, AppHandle, Runtime};
|
||||
use tauri::{AppHandle, Runtime, plugin::PluginApi};
|
||||
|
||||
use crate::models::*;
|
||||
|
||||
@@ -14,11 +14,11 @@ pub fn init<R: Runtime, C: DeserializeOwned>(
|
||||
pub struct Bluclas<R: Runtime>(AppHandle<R>);
|
||||
|
||||
impl<R: Runtime> Bluclas<R> {
|
||||
pub fn daftar_perangkat(&self) -> crate::Result<SBlueclasClassicResponDaftarPerangkat> {
|
||||
return Ok(SBlueclasClassicResponDaftarPerangkat { data: vec![] });
|
||||
pub fn daftar_perangkat(&self) -> crate::Result<SBlueclasResponDaftarPerangkat> {
|
||||
return Ok(SBlueclasResponDaftarPerangkat { data: vec![] });
|
||||
}
|
||||
|
||||
pub fn kirim(&self, _: SBlueclasClassicMuatanKirim) -> crate::Result<()> {
|
||||
pub fn kirim(&self, _: SBlueclasMuatanKirim) -> crate::Result<()> {
|
||||
return Ok(());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user