Cargo clippy and cargo fmt
This commit is contained in:
parent
b0000c0117
commit
ed609cf06c
22 changed files with 286 additions and 94 deletions
|
|
@ -24,6 +24,11 @@ pub trait SalesPersonDao {
|
|||
async fn create(&self, entity: &SalesPersonEntity, process: &str) -> Result<(), DaoError>;
|
||||
async fn update(&self, entity: &SalesPersonEntity, process: &str) -> Result<(), DaoError>;
|
||||
async fn get_assigned_user(&self, sales_person_id: Uuid) -> Result<Option<Arc<str>>, DaoError>;
|
||||
async fn assign_to_user(&self, sales_person_id: Uuid, user_id: &str, process: &str) -> Result<(), DaoError>;
|
||||
async fn assign_to_user(
|
||||
&self,
|
||||
sales_person_id: Uuid,
|
||||
user_id: &str,
|
||||
process: &str,
|
||||
) -> Result<(), DaoError>;
|
||||
async fn discard_assigned_user(&self, sales_person_id: Uuid) -> Result<(), DaoError>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue