https://gill.net.in/posts/auth-microservice-rust-actix-web1.0-diesel-complete-tutorial/
sequenceDiagram
# エイリアス
participant cl as Client
participant sv as Server
participant db as PostgreSQL
participant ms as SendMail
# invitation handler APIシーケンス
cl ->>+ sv : invitation
sv ->>+ db : select発行
db -->>- sv : select結果
sv -->>- cl : データ取得要求結果
sv -->>+ ms : 招待メール送信
alt 正常終了
Note over cl : invitation ok!
else エラー
Note over cl : alredy invitation
end