style: code style
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
use serde_json::Value;
|
||||
|
||||
use std::{
|
||||
fs,
|
||||
env,
|
||||
path::PathBuf,
|
||||
time::SystemTime,
|
||||
io::{Error, ErrorKind,},
|
||||
io::{ Error, ErrorKind },
|
||||
};
|
||||
use serde_json::Value;
|
||||
use sha2::Sha256;
|
||||
use hmac::{Hmac, Mac,};
|
||||
use hmac::{ Hmac, Mac };
|
||||
|
||||
mod msg;
|
||||
use msg::*;
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
use serde::{Serialize, Deserialize};
|
||||
|
||||
use serde::{ Serialize, Deserialize };
|
||||
|
||||
/// Send Dingtalk or WeChatWork message
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub enum DingTalkType {
|
||||
|
||||
/// DingTalk
|
||||
DingTalk,
|
||||
|
||||
/// WeChatWork
|
||||
WeChatWork,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user