ruwebframe 0.1.7

a simple webframe for rust actix-web, based on rudi and rbatis.
Documentation
1
2
3
4
5
6
7
8
9
10
11
  
use crate::rubase::ruentity::json_serial::JsonSerializable;

//单实例
pub trait JsonEntitySingle: JsonSerializable {    
    fn if_single(&self) -> bool { true }
    fn init(&mut self) {}
    fn shutdown(&mut self) {}
    fn auto_init(&self) -> bool { false }
    
}