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