Struct IamAppServ

Source
pub struct IamAppServ;

Implementations§

Source§

impl IamAppServ

Source

pub fn get_new_id() -> String

Source

pub fn is_app_level_by_ctx(ctx: &TardisContext) -> bool

Source

pub fn get_id_by_ctx( ctx: &TardisContext, funs: &TardisFunsInst, ) -> TardisResult<String>

Source

pub async fn add_app_agg( add_req: &IamAppAggAddReq, funs: &TardisFunsInst, tenant_ctx: &TardisContext, ) -> TardisResult<String>

Source

pub async fn modify_app_agg( id: &str, modify_req: &IamAppAggModifyReq, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<()>

Source

pub async fn find_rel_account( app_id: &str, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<Vec<RbumRelBoneResp>>

Source

pub async fn add_rel_account( app_id: &str, account_id: &str, ignore_exist_error: bool, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<()>

Source

pub async fn delete_rel_account( app_id: &str, account_id: &str, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<()>

Source

pub async fn count_rel_accounts( app_id: &str, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<u64>

Source

pub fn with_app_rel_filter( ctx: &TardisContext, funs: &TardisFunsInst, ) -> TardisResult<Option<RbumItemRelFilterReq>>

Source

pub async fn find_name_by_ids( filter: IamAppFilterReq, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<Vec<String>>

Trait Implementations§

Source§

impl RbumItemCrudOperation<ActiveModel, IamAppAddReq, IamAppModifyReq, IamAppSummaryResp, IamAppDetailResp, IamAppFilterReq> for IamAppServ

Source§

fn get_ext_table_name() -> &'static str

Get the name of the extended table Read more
Source§

fn get_rbum_kind_id() -> Option<String>

Get default resource kind Read more
Source§

fn get_rbum_domain_id() -> Option<String>

Get default resource domain Read more
Source§

fn package_item_add<'life0, 'life1, 'life2, 'async_trait>( add_req: &'life0 IamAppAddReq, _: &'life1 TardisFunsInst, _: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = TardisResult<RbumItemKernelAddReq>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Package add request of the kernel part of the resource item Read more
Source§

fn package_ext_add<'life0, 'life1, 'life2, 'life3, 'async_trait>( id: &'life0 str, add_req: &'life1 IamAppAddReq, _: &'life2 TardisFunsInst, _: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = TardisResult<ActiveModel>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Package add request of the extended part of the resource item Read more
Source§

fn package_item_modify<'life0, 'life1, 'life2, 'life3, 'async_trait>( _: &'life0 str, modify_req: &'life1 IamAppModifyReq, _: &'life2 TardisFunsInst, _: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = TardisResult<Option<RbumItemKernelModifyReq>>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Package modify request of the kernel part of the resource item Read more
Source§

fn package_ext_modify<'life0, 'life1, 'life2, 'life3, 'async_trait>( id: &'life0 str, modify_req: &'life1 IamAppModifyReq, _: &'life2 TardisFunsInst, _: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = TardisResult<Option<ActiveModel>>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Package modify request of the extended part of the resource item Read more
Source§

fn after_add_item<'life0, 'life1, 'life2, 'life3, 'async_trait>( id: &'life0 str, _: &'life1 mut IamAppAddReq, funs: &'life2 TardisFunsInst, ctx: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = TardisResult<()>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Post-processing of the add request Read more
Source§

fn after_modify_item<'life0, 'life1, 'life2, 'life3, 'async_trait>( id: &'life0 str, modify_req: &'life1 mut IamAppModifyReq, funs: &'life2 TardisFunsInst, ctx: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = TardisResult<()>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Post-processing of the modify request Read more
Source§

fn before_delete_item<'life0, 'life1, 'life2, 'async_trait>( _: &'life0 str, funs: &'life1 TardisFunsInst, _: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = TardisResult<Option<IamAppDetailResp>>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Pre-processing of the delete request Read more
Source§

fn package_ext_query<'life0, 'life1, 'life2, 'life3, 'async_trait>( query: &'life0 mut SelectStatement, __arg1: bool, filter: &'life1 IamAppFilterReq, _: &'life2 TardisFunsInst, _: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = TardisResult<()>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Package query request of the extended part of the resource item Read more
Source§

fn get_obj_name() -> String

Get the name of the extended object Read more
Source§

fn before_add_item<'life0, 'life1, 'life2, 'async_trait>( _: &'life0 mut AddReq, _: &'life1 TardisFunsInst, _: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<(), TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Pre-processing of the add request Read more
Source§

fn add_item<'life0, 'life1, 'life2, 'async_trait>( add_req: &'life0 mut AddReq, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<String, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Add resource item Read more
Source§

fn add_item_with_simple_rel_by_from<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( add_req: &'life0 mut AddReq, tag: &'life1 str, to_rbum_item_id: &'life2 str, funs: &'life3 TardisFunsInst, ctx: &'life4 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<String, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, Self: Send + 'async_trait,

Add resource item with simple relationship (the added resource item is the source party) Read more
Source§

fn add_item_with_simple_rel_by_to<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( add_req: &'life0 mut AddReq, tag: &'life1 str, from_rbum_item_id: &'life2 str, funs: &'life3 TardisFunsInst, ctx: &'life4 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<String, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, Self: Send + 'async_trait,

Add resource item with simple relationship (the added resource item is the target party) Read more
Source§

fn before_modify_item<'life0, 'life1, 'life2, 'life3, 'async_trait>( _: &'life0 str, _: &'life1 mut ModifyReq, _: &'life2 TardisFunsInst, _: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<(), TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Pre-processing of the modify request Read more
Source§

fn modify_item<'life0, 'life1, 'life2, 'life3, 'async_trait>( id: &'life0 str, modify_req: &'life1 mut ModifyReq, funs: &'life2 TardisFunsInst, ctx: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<(), TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: Send + 'async_trait,

Modify resource item Read more
Source§

fn after_delete_item<'life0, 'life1, 'life2, 'life3, 'async_trait>( _: &'life0 str, _: &'life1 Option<DetailResp>, _: &'life2 TardisFunsInst, _: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<(), TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Post-processing of the delete request Read more
Source§

fn delete_item<'life0, 'life1, 'life2, 'async_trait>( id: &'life0 str, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<u64, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Delete resource item Read more
Source§

fn delete_item_with_all_rels<'life0, 'life1, 'life2, 'async_trait>( id: &'life0 str, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<u64, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Delete resource item with all relationships Read more
Source§

fn package_item_query<'life0, 'life1, 'life2, 'async_trait>( is_detail: bool, filter: &'life0 ItemFilterReq, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<SelectStatement, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Package query request of the kernel part of the resource item Read more
Source§

fn package_rel( query: &mut SelectStatement, rel_table: Alias, rbum_item_rel_filter_req: &RbumItemRelFilterReq, )

Package condition of the relationship Read more
Source§

fn package_set_rel( query: &mut SelectStatement, rel_table: Alias, rbum_set_rel_filter_req: &RbumSetItemRelFilterReq, )

Package condition of the resource set Read more
Source§

fn peek_item<'life0, 'life1, 'life2, 'life3, 'async_trait>( id: &'life0 str, filter: &'life1 ItemFilterReq, funs: &'life2 TardisFunsInst, ctx: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<SummaryResp, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: Send + 'async_trait,

Query and get a resource item summary Read more
Source§

fn do_peek_item<'life0, 'life1, 'life2, 'life3, 'async_trait>( id: &'life0 str, filter: &'life1 ItemFilterReq, funs: &'life2 TardisFunsInst, ctx: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<SummaryResp, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: Send + 'async_trait,

Query and get a resource item summary Read more
Source§

fn get_item<'life0, 'life1, 'life2, 'life3, 'async_trait>( id: &'life0 str, filter: &'life1 ItemFilterReq, funs: &'life2 TardisFunsInst, ctx: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<DetailResp, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: Send + 'async_trait,

Query and get a resource item detail Read more
Source§

fn do_get_item<'life0, 'life1, 'life2, 'life3, 'async_trait>( id: &'life0 str, filter: &'life1 ItemFilterReq, funs: &'life2 TardisFunsInst, ctx: &'life3 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<DetailResp, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: Send + 'async_trait,

Query and get a resource item detail Read more
Source§

fn paginate_id_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, page_number: u32, page_size: u32, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<TardisPage<String>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and page to get the resource item id set Read more
Source§

fn do_paginate_id_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, page_number: u32, page_size: u32, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<TardisPage<String>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and page to get the resource item id set Read more
Source§

fn paginate_id_name_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, page_number: u32, page_size: u32, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<TardisPage<IdNameResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and page to get the resource item id and name set Read more
Source§

fn do_paginate_id_name_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, page_number: u32, page_size: u32, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<TardisPage<IdNameResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and page to get the resource item id and name set Read more
Source§

fn paginate_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, page_number: u32, page_size: u32, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<TardisPage<SummaryResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and page to get the resource item summary set Read more
Source§

fn do_paginate_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, page_number: u32, page_size: u32, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<TardisPage<SummaryResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and page to get the resource item summary set Read more
Source§

fn paginate_detail_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, page_number: u32, page_size: u32, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<TardisPage<DetailResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and page to get the resource item detail set Read more
Source§

fn do_paginate_detail_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, page_number: u32, page_size: u32, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<TardisPage<DetailResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and page to get the resource item detail set Read more
Source§

fn find_one_item<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Option<SummaryResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get a resource item summary Read more
Source§

fn do_find_one_item<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Option<SummaryResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get a resource item summary Read more
Source§

fn find_id_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get the resource item id set Read more
Source§

fn do_find_id_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get the resource item id set Read more
Source§

fn find_id_name_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<HashMap<String, String>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get the resource item id and name set Read more
Source§

fn do_find_id_name_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<HashMap<String, String>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get the resource item id and name set Read more
Source§

fn find_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Vec<SummaryResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get the resource item summary set Read more
Source§

fn do_find_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Vec<SummaryResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get the resource item summary set Read more
Source§

fn find_one_detail_item<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Option<DetailResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get a resource item detail Read more
Source§

fn do_find_one_detail_item<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Option<DetailResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get a resource item detail Read more
Source§

fn find_detail_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Vec<DetailResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get the resource item detail set Read more
Source§

fn do_find_detail_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, desc_sort_by_create: Option<bool>, desc_sort_by_update: Option<bool>, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<Vec<DetailResp>, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and get the resource item detail set Read more
Source§

fn count_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<u64, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and count the number of resource items Read more
Source§

fn do_count_items<'life0, 'life1, 'life2, 'async_trait>( filter: &'life0 ItemFilterReq, funs: &'life1 TardisFunsInst, ctx: &'life2 TardisContext, ) -> Pin<Box<dyn Future<Output = Result<u64, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: Send + 'async_trait,

Query and count the number of resource items Read more
Source§

fn is_disabled<'life0, 'life1, 'async_trait>( id: &'life0 str, funs: &'life1 TardisFunsInst, ) -> Pin<Box<dyn Future<Output = Result<bool, TardisError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: Send + 'async_trait,

Whether the resource item is disabled Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

Source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

Source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

Source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> Chain<T> for T

Source§

fn len(&self) -> usize

The number of items that this chain link consists of.
Source§

fn append_to(self, v: &mut Vec<T>)

Append the elements in this link to the chain.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FutureExt for T

Source§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Source§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,