ruwebframe 0.1.2

a simple webframe for rust actix-web, based on rudi and rbatis.
Documentation
// pkg rubase::rudto::cfgdto::webdto

/*
	@Title   文件名称: clientdto_init.rs
	@Desp    描述:    依赖自动注入
    @Company 公司:    wcht.akunlong.top
	@Author  作者:    raymond@163.com  时间: 2026-08-09 17:27:12
	@Update  作者:    raymond@163.com  时间: 2026-08-09 17:27:12
*/

// StructInit自动生成,一般不要手动修改

use std::sync::Arc;
use ctor::ctor;

use crate::rudi::dicontainer::direg;
use crate::rubase::rudto::cfgdto::webdto::ClientDto;

#[ctor(unsafe)]
pub fn init() {
    register_bean_clientdto();
}

const SINGLE_BEAN_NAME: &str = "rubase::rudto::cfgdto::webdto:ClientDto:bcceb198-fd45-4a66-beba-f7d9a07a5e2a}";

pub fn find_bean_clientdto() -> Option<Arc<ClientDto>> {
    direg::get_bean::<ClientDto>(SINGLE_BEAN_NAME)
}

pub fn register_bean_clientdto() {
    direg::register(SINGLE_BEAN_NAME, ClientDto::new);
}


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rudto\\cfgdto\\webdto.rs",
  "pathPkg": "./src\\rubase\\rudto\\cfgdto",
  "structName": "ClientDto",
  "structPkg": "rubase::rudto::cfgdto::webdto",
  "ifSingle": false,
  "ifDefault": false,
  "structIniFile": "clientdto_init.rs",
  "existIniFile": true,
  "single_bean_name": ":ClientDto:a7966db9-4025-4cd8-a7f8-faa83d919249",
  "modFile": "./src\\rubase\\rudto\\cfgdto/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/