pub struct ActiveModel {
pub id: ActiveValue<String>,
pub icon: ActiveValue<String>,
pub sort: ActiveValue<i64>,
pub contact_phone: ActiveValue<String>,
pub own_paths: ActiveValue<String>,
}Expand description
Generated by sea-orm-macros
Fields§
§id: ActiveValue<String>Generated by sea-orm-macros
icon: ActiveValue<String>Generated by sea-orm-macros
sort: ActiveValue<i64>Generated by sea-orm-macros
contact_phone: ActiveValue<String>Generated by sea-orm-macros
own_paths: ActiveValue<String>Generated by sea-orm-macros
Trait Implementations§
Source§impl ActiveModelBehavior for ActiveModel
Generated by Tardis
impl ActiveModelBehavior for ActiveModel
Generated by Tardis
Source§fn new() -> Self
fn new() -> Self
Create a new ActiveModel with default values. Also used by
Default::default().Source§fn before_save<'life0, 'async_trait, C>(
self,
db: &'life0 C,
insert: bool,
) -> Pin<Box<dyn Future<Output = Result<Self, DbErr>> + Send + 'async_trait>>where
'life0: 'async_trait,
C: ConnectionTrait + 'async_trait,
Self: Send + 'async_trait,
fn before_save<'life0, 'async_trait, C>(
self,
db: &'life0 C,
insert: bool,
) -> Pin<Box<dyn Future<Output = Result<Self, DbErr>> + Send + 'async_trait>>where
'life0: 'async_trait,
C: ConnectionTrait + 'async_trait,
Self: Send + 'async_trait,
Will be called before
ActiveModel::insert, ActiveModel::update, and ActiveModel::saveSource§fn after_save<'life0, 'async_trait, C>(
model: <Self::Entity as EntityTrait>::Model,
db: &'life0 C,
insert: bool,
) -> Pin<Box<dyn Future<Output = Result<<Self::Entity as EntityTrait>::Model, DbErr>> + Send + 'async_trait>>where
'life0: 'async_trait,
C: ConnectionTrait + 'async_trait,
Self: Send + 'async_trait,
fn after_save<'life0, 'async_trait, C>(
model: <Self::Entity as EntityTrait>::Model,
db: &'life0 C,
insert: bool,
) -> Pin<Box<dyn Future<Output = Result<<Self::Entity as EntityTrait>::Model, DbErr>> + Send + 'async_trait>>where
'life0: 'async_trait,
C: ConnectionTrait + 'async_trait,
Self: Send + 'async_trait,
Will be called after
ActiveModel::insert, ActiveModel::update, and ActiveModel::saveSource§impl ActiveModelTrait for ActiveModel
impl ActiveModelTrait for ActiveModel
Source§fn take(
&mut self,
c: <Self::Entity as EntityTrait>::Column,
) -> ActiveValue<Value>
fn take( &mut self, c: <Self::Entity as EntityTrait>::Column, ) -> ActiveValue<Value>
Get a mutable ActiveValue from an ActiveModel
Source§fn get(&self, c: <Self::Entity as EntityTrait>::Column) -> ActiveValue<Value>
fn get(&self, c: <Self::Entity as EntityTrait>::Column) -> ActiveValue<Value>
Get a immutable ActiveValue from an ActiveModel
Source§fn set(&mut self, c: <Self::Entity as EntityTrait>::Column, v: Value)
fn set(&mut self, c: <Self::Entity as EntityTrait>::Column, v: Value)
Set the Value into an ActiveModel
Source§fn not_set(&mut self, c: <Self::Entity as EntityTrait>::Column)
fn not_set(&mut self, c: <Self::Entity as EntityTrait>::Column)
Set the state of an ActiveValue to the not set state
Source§fn is_not_set(&self, c: <Self::Entity as EntityTrait>::Column) -> bool
fn is_not_set(&self, c: <Self::Entity as EntityTrait>::Column) -> bool
Check the state of a ActiveValue
Source§fn default_values() -> Self
fn default_values() -> Self
Create an ActiveModel with all fields to Set(default_value) if Default is implemented, NotSet otherwise
Source§fn reset(&mut self, c: <Self::Entity as EntityTrait>::Column)
fn reset(&mut self, c: <Self::Entity as EntityTrait>::Column)
Reset the value from ActiveValue::Unchanged to ActiveValue::Set,
leaving ActiveValue::NotSet untouched.
Source§fn reset_all(self) -> Self
fn reset_all(self) -> Self
Reset all values from ActiveValue::Unchanged to ActiveValue::Set,
leaving ActiveValue::NotSet untouched.
Source§fn get_primary_key_value(&self) -> Option<ValueTuple>
fn get_primary_key_value(&self) -> Option<ValueTuple>
Get the primary key of the ActiveModel Read more
Source§fn insert<'a, 'async_trait, C>(
self,
db: &'a C,
) -> Pin<Box<dyn Future<Output = Result<<Self::Entity as EntityTrait>::Model, DbErr>> + Send + 'async_trait>>where
'a: 'async_trait,
<Self::Entity as EntityTrait>::Model: IntoActiveModel<Self>,
Self: ActiveModelBehavior + 'a + Send + 'async_trait,
C: ConnectionTrait + 'async_trait,
fn insert<'a, 'async_trait, C>(
self,
db: &'a C,
) -> Pin<Box<dyn Future<Output = Result<<Self::Entity as EntityTrait>::Model, DbErr>> + Send + 'async_trait>>where
'a: 'async_trait,
<Self::Entity as EntityTrait>::Model: IntoActiveModel<Self>,
Self: ActiveModelBehavior + 'a + Send + 'async_trait,
C: ConnectionTrait + 'async_trait,
Perform an
INSERT operation on the ActiveModel Read moreSource§fn update<'a, 'async_trait, C>(
self,
db: &'a C,
) -> Pin<Box<dyn Future<Output = Result<<Self::Entity as EntityTrait>::Model, DbErr>> + Send + 'async_trait>>where
'a: 'async_trait,
<Self::Entity as EntityTrait>::Model: IntoActiveModel<Self>,
Self: ActiveModelBehavior + 'a + Send + 'async_trait,
C: ConnectionTrait + 'async_trait,
fn update<'a, 'async_trait, C>(
self,
db: &'a C,
) -> Pin<Box<dyn Future<Output = Result<<Self::Entity as EntityTrait>::Model, DbErr>> + Send + 'async_trait>>where
'a: 'async_trait,
<Self::Entity as EntityTrait>::Model: IntoActiveModel<Self>,
Self: ActiveModelBehavior + 'a + Send + 'async_trait,
C: ConnectionTrait + 'async_trait,
Perform the
UPDATE operation on an ActiveModel Read moreSource§fn save<'a, 'async_trait, C>(
self,
db: &'a C,
) -> Pin<Box<dyn Future<Output = Result<Self, DbErr>> + Send + 'async_trait>>where
'a: 'async_trait,
<Self::Entity as EntityTrait>::Model: IntoActiveModel<Self>,
Self: ActiveModelBehavior + 'a + Send + 'async_trait,
C: ConnectionTrait + 'async_trait,
fn save<'a, 'async_trait, C>(
self,
db: &'a C,
) -> Pin<Box<dyn Future<Output = Result<Self, DbErr>> + Send + 'async_trait>>where
'a: 'async_trait,
<Self::Entity as EntityTrait>::Model: IntoActiveModel<Self>,
Self: ActiveModelBehavior + 'a + Send + 'async_trait,
C: ConnectionTrait + 'async_trait,
Insert the model if primary key is
NotSet, update otherwise.
Only works if the entity has auto increment primary key.Source§fn delete<'a, 'async_trait, C>(
self,
db: &'a C,
) -> Pin<Box<dyn Future<Output = Result<DeleteResult, DbErr>> + Send + 'async_trait>>where
'a: 'async_trait,
Self: ActiveModelBehavior + 'a + Send + 'async_trait,
C: ConnectionTrait + 'async_trait,
fn delete<'a, 'async_trait, C>(
self,
db: &'a C,
) -> Pin<Box<dyn Future<Output = Result<DeleteResult, DbErr>> + Send + 'async_trait>>where
'a: 'async_trait,
Self: ActiveModelBehavior + 'a + Send + 'async_trait,
C: ConnectionTrait + 'async_trait,
Delete an active model by its primary key Read more
Source§fn is_changed(&self) -> bool
fn is_changed(&self) -> bool
Return
true if any attribute of ActiveModel is SetSource§impl Clone for ActiveModel
impl Clone for ActiveModel
Source§fn clone(&self) -> ActiveModel
fn clone(&self) -> ActiveModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActiveModel
impl Debug for ActiveModel
Source§impl Default for ActiveModel
impl Default for ActiveModel
Source§impl From<Model> for ActiveModel
impl From<Model> for ActiveModel
Source§impl IntoActiveModel<ActiveModel> for Model
impl IntoActiveModel<ActiveModel> for Model
Source§fn into_active_model(self) -> ActiveModel
fn into_active_model(self) -> ActiveModel
Method to call to perform the conversion
Source§impl PartialEq for ActiveModel
impl PartialEq for ActiveModel
Source§impl RbumItemCrudOperation<ActiveModel, IamAppAddReq, IamAppModifyReq, IamAppSummaryResp, IamAppDetailResp, IamAppFilterReq> for IamAppServ
impl RbumItemCrudOperation<ActiveModel, IamAppAddReq, IamAppModifyReq, IamAppSummaryResp, IamAppDetailResp, IamAppFilterReq> for IamAppServ
Source§fn get_ext_table_name() -> &'static str
fn get_ext_table_name() -> &'static str
Get the name of the extended table 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,
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,
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,
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,
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,
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,
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,
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,
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
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
)
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,
)
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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
Source§impl TardisActiveModel for ActiveModel
Generated by Tardis
impl TardisActiveModel for ActiveModel
Generated by Tardis
Source§fn fill_ctx(&mut self, ctx: &TardisContext, is_insert: bool)
fn fill_ctx(&mut self, ctx: &TardisContext, is_insert: bool)
Fill TardisContext / 填充TardisContext Read more
Source§fn create_table_statement(db: DbBackend) -> TableCreateStatement
fn create_table_statement(db: DbBackend) -> TableCreateStatement
Create table / 创建表 Read more
Source§fn create_index_statement() -> Vec<IndexCreateStatement>
fn create_index_statement() -> Vec<IndexCreateStatement>
Create index / 创建索引 Read more
Source§fn init(
db: DatabaseBackend,
update_time_field: Option<&str>,
compatible_type: CompatibleType,
) -> (TableCreateStatement, Vec<IndexCreateStatement>, Vec<String>)
fn init( db: DatabaseBackend, update_time_field: Option<&str>, compatible_type: CompatibleType, ) -> (TableCreateStatement, Vec<IndexCreateStatement>, Vec<String>)
Create table and index / 创建表和索引 Read more
Source§fn create_function_sqls(
db: DatabaseBackend,
table_name: &str,
update_time_field: Option<&str>,
compatible_type: CompatibleType,
) -> Vec<String>
fn create_function_sqls( db: DatabaseBackend, table_name: &str, update_time_field: Option<&str>, compatible_type: CompatibleType, ) -> Vec<String>
Create functions / 创建函数
fn create_function_postgresql_auto_update_time( table_name: &str, update_time_field: &str, compatible_type: CompatibleType, ) -> Vec<String>
Source§impl TryFrom<ActiveModel> for Model
impl TryFrom<ActiveModel> for Model
Source§impl TryIntoModel<Model> for ActiveModel
impl TryIntoModel<Model> for ActiveModel
impl StructuralPartialEq for ActiveModel
Auto Trait Implementations§
impl Freeze for ActiveModel
impl RefUnwindSafe for ActiveModel
impl Send for ActiveModel
impl Sync for ActiveModel
impl Unpin for ActiveModel
impl UnwindSafe for ActiveModel
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<A> IntoActiveModel<A> for Awhere
A: ActiveModelTrait,
impl<A> IntoActiveModel<A> for Awhere
A: ActiveModelTrait,
Source§fn into_active_model(self) -> A
fn into_active_model(self) -> A
Method to call to perform the conversion
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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