Add REST endpoint for slot
This commit is contained in:
parent
82e89baeeb
commit
8f378472ea
28 changed files with 1925 additions and 28 deletions
9
service_impl/src/uuid_service.rs
Normal file
9
service_impl/src/uuid_service.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
use uuid::Uuid;
|
||||
|
||||
pub struct UuidServiceImpl;
|
||||
|
||||
impl service::uuid_service::UuidService for UuidServiceImpl {
|
||||
fn new_uuid(&self, _usage: &str) -> Uuid {
|
||||
Uuid::new_v4()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue