pub struct ActiveModel {Show 14 fields
pub id: ActiveValue<String>,
pub code: ActiveValue<String>,
pub name: ActiveValue<String>,
pub data_type: ActiveValue<String>,
pub note: ActiveValue<String>,
pub value1: ActiveValue<String>,
pub value2: ActiveValue<String>,
pub ext: ActiveValue<String>,
pub rel_item_id: ActiveValue<String>,
pub disabled: ActiveValue<bool>,
pub own_paths: ActiveValue<String>,
pub owner: ActiveValue<String>,
pub create_time: ActiveValue<DateTime<Utc>>,
pub update_time: ActiveValue<DateTime<Utc>>,
}Expand description
Generated by sea-orm-macros
Fields§
§id: ActiveValue<String>Generated by sea-orm-macros
code: ActiveValue<String>Generated by sea-orm-macros
name: ActiveValue<String>Generated by sea-orm-macros
data_type: ActiveValue<String>Generated by sea-orm-macros
note: ActiveValue<String>Generated by sea-orm-macros
value1: ActiveValue<String>Generated by sea-orm-macros
value2: ActiveValue<String>Generated by sea-orm-macros
ext: ActiveValue<String>Generated by sea-orm-macros
rel_item_id: ActiveValue<String>Generated by sea-orm-macros
disabled: ActiveValue<bool>Generated by sea-orm-macros
own_paths: ActiveValue<String>Generated by sea-orm-macros
owner: ActiveValue<String>Generated by sea-orm-macros
create_time: ActiveValue<DateTime<Utc>>Generated by sea-orm-macros
update_time: ActiveValue<DateTime<Utc>>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 try_set(
&mut self,
c: <Self::Entity as EntityTrait>::Column,
v: Value,
) -> Result<(), DbErr>
fn try_set( &mut self, c: <Self::Entity as EntityTrait>::Column, v: Value, ) -> Result<(), DbErr>
Set the Value into an ActiveModel, return error if failed. Read more
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 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, panic if failed
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 RbumCrudOperation<ActiveModel, IamConfigAddReq, IamConfigModifyReq, IamConfigSummaryResp, IamConfigDetailResp, IamConfigFilterReq> for IamConfigServ
impl RbumCrudOperation<ActiveModel, IamConfigAddReq, IamConfigModifyReq, IamConfigSummaryResp, IamConfigDetailResp, IamConfigFilterReq> for IamConfigServ
Source§fn get_table_name() -> &'static str
fn get_table_name() -> &'static str
Get the name of the table Read more
Source§fn package_add<'life0, 'life1, 'life2, 'async_trait>(
add_req: &'life0 IamConfigAddReq,
_: &'life1 TardisFunsInst,
_: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = TardisResult<ActiveModel>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn package_add<'life0, 'life1, 'life2, 'async_trait>(
add_req: &'life0 IamConfigAddReq,
_: &'life1 TardisFunsInst,
_: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = TardisResult<ActiveModel>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Package add request Read more
Source§fn before_add_rbum<'life0, 'life1, 'life2, 'async_trait>(
add_req: &'life0 mut IamConfigAddReq,
funs: &'life1 TardisFunsInst,
ctx: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = TardisResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn before_add_rbum<'life0, 'life1, 'life2, 'async_trait>(
add_req: &'life0 mut IamConfigAddReq,
funs: &'life1 TardisFunsInst,
ctx: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = TardisResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Pre-processing of the add request Read more
Source§fn package_modify<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
modify_req: &'life1 IamConfigModifyReq,
_: &'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_modify<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
modify_req: &'life1 IamConfigModifyReq,
_: &'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 modify request Read more
Source§fn package_query<'life0, 'life1, 'life2, 'async_trait>(
is_detail: bool,
filter: &'life0 IamConfigFilterReq,
_: &'life1 TardisFunsInst,
ctx: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = TardisResult<SelectStatement>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn package_query<'life0, 'life1, 'life2, 'async_trait>(
is_detail: bool,
filter: &'life0 IamConfigFilterReq,
_: &'life1 TardisFunsInst,
ctx: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = TardisResult<SelectStatement>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Package query request Read more
Source§fn get_obj_name() -> String
fn get_obj_name() -> String
Get the name of the object Read more
Source§fn get_obj_name_from(table_name: &str) -> String
fn get_obj_name_from(table_name: &str) -> String
Get the object name from the custom table name Read more
Source§fn check_ownership<'life0, 'life1, 'life2, 'async_trait>(
id: &'life0 str,
funs: &'life1 TardisFunsInst,
ctx: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = Result<(), TardisError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn check_ownership<'life0, 'life1, 'life2, 'async_trait>(
id: &'life0 str,
funs: &'life1 TardisFunsInst,
ctx: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = Result<(), TardisError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
Check the ownership of the specified resource id Read more
Source§fn check_ownership_with_table_name<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
table_name: &'life1 str,
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 check_ownership_with_table_name<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
table_name: &'life1 str,
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,
Check the ownership of the specified resource id and table name Read more
Source§fn package_ownership_query(id: &str, ctx: &TardisContext) -> SelectStatement
fn package_ownership_query(id: &str, ctx: &TardisContext) -> SelectStatement
Package the ownership query statement of the specified resource id Read more
Source§fn package_ownership_query_with_table_name(
id: &str,
table_name: &str,
ctx: &TardisContext,
) -> SelectStatement
fn package_ownership_query_with_table_name( id: &str, table_name: &str, ctx: &TardisContext, ) -> SelectStatement
Package the ownership query statement of the specified resource id and table name Read more
Source§fn check_scope<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
table_name: &'life1 str,
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 check_scope<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
table_name: &'life1 str,
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,
Check the scope of the specified resource id and table name Read more
Source§fn check_scopes<'life0, 'life1, 'life2, 'life3, 'async_trait>(
values: HashMap<String, &'life0 Vec<String>>,
expect_number: u64,
table_name: &'life1 str,
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 check_scopes<'life0, 'life1, 'life2, 'life3, 'async_trait>(
values: HashMap<String, &'life0 Vec<String>>,
expect_number: u64,
table_name: &'life1 str,
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,
Check the scope of the specified field set and table name Read more
Source§fn check_exist_before_delete<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
rel_table_name: &'life1 str,
rel_field_name: &'life2 str,
funs: &'life3 TardisFunsInst,
) -> 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 check_exist_before_delete<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
rel_table_name: &'life1 str,
rel_field_name: &'life2 str,
funs: &'life3 TardisFunsInst,
) -> 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,
Check whether there is an association before deleting the resource with the specified id and table name. Read more
Source§fn check_exist_with_cond_before_delete<'life0, 'life1, 'async_trait>(
rel_table_name: &'life0 str,
condition: Condition,
funs: &'life1 TardisFunsInst,
) -> Pin<Box<dyn Future<Output = Result<(), TardisError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
fn check_exist_with_cond_before_delete<'life0, 'life1, 'async_trait>(
rel_table_name: &'life0 str,
condition: Condition,
funs: &'life1 TardisFunsInst,
) -> Pin<Box<dyn Future<Output = Result<(), TardisError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Send + 'async_trait,
Check whether there is an association before deleting the resource with the specified condition and table name. Read more
Source§fn after_add_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
_: &'life0 str,
_: &'life1 AddReq,
_: &'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_add_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
_: &'life0 str,
_: &'life1 AddReq,
_: &'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 add request Read more
Source§fn add_rbum<'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_rbum<'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 Read more
Source§fn before_modify_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
_: &'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 before_modify_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
_: &'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,
Pre-processing of the modify request Read more
Source§fn after_modify_rbum<'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 after_modify_rbum<'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,
Post-processing of the modify request Read more
Source§fn modify_rbum<'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_rbum<'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 Read more
Source§fn before_delete_rbum<'life0, 'life1, 'life2, 'async_trait>(
id: &'life0 str,
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 before_delete_rbum<'life0, 'life1, 'life2, 'async_trait>(
id: &'life0 str,
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,
Pre-processing of the delete request Read more
Source§fn after_delete_rbum<'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_rbum<'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_rbum<'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_rbum<'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 Read more
Source§fn peek_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
filter: &'life1 FilterReq,
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_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
filter: &'life1 FilterReq,
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 summary Read more
Source§fn do_peek_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
filter: &'life1 FilterReq,
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_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
filter: &'life1 FilterReq,
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 summary Read more
Source§fn get_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
filter: &'life1 FilterReq,
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_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
filter: &'life1 FilterReq,
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 detail Read more
Source§fn do_get_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
filter: &'life1 FilterReq,
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_rbum<'life0, 'life1, 'life2, 'life3, 'async_trait>(
id: &'life0 str,
filter: &'life1 FilterReq,
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 detail Read more
Source§fn paginate_id_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 id set Read more
Source§fn do_paginate_id_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 id set Read more
Source§fn paginate_id_name_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 id and name set Read more
Source§fn do_paginate_id_name_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 id and name set Read more
Source§fn paginate_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 summary set Read more
Source§fn do_paginate_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 summary set Read more
Source§fn paginate_detail_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 detail set Read more
Source§fn do_paginate_detail_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 detail set Read more
Source§fn find_one_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 summary Read more
Source§fn do_find_one_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 summary Read more
Source§fn find_id_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 id set Read more
Source§fn do_find_id_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 id set Read more
Source§fn find_id_name_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 id and name set Read more
Source§fn do_find_id_name_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 id and name set Read more
Source§fn find_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 summary set Read more
Source§fn do_find_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 summary set Read more
Source§fn find_one_detail_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 detail Read more
Source§fn do_find_one_detail_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 detail Read more
Source§fn find_detail_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 detail set Read more
Source§fn do_find_detail_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 detail set Read more
Source§fn count_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 resources Read more
Source§fn do_count_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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_rbums<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
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 resources Read more
Source§fn exist_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
funs: &'life1 TardisFunsInst,
ctx: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = Result<bool, TardisError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn exist_rbum<'life0, 'life1, 'life2, 'async_trait>(
filter: &'life0 FilterReq,
funs: &'life1 TardisFunsInst,
ctx: &'life2 TardisContext,
) -> Pin<Box<dyn Future<Output = Result<bool, TardisError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
Query and check whether the resource exists 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